frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Miralis – a RISC-V virtual firmware monitor

https://github.com/CharlyCst/miralis
4•charlycst•1y ago
Miralis is a RISC-V firmware that virtualizes RISC-V firmware. In other words, it runs firmware in user-space (M-mode software in U-mode).

The fact that this is even possible is interesting: indeed, not all ISAs are virtualizable, and the same applies for their firmware mode. It all boils down to the virtualization requirements [1], which is a great read if you haven't come across it yet. Arm's EL3 cannot be virtualized, for instance, because some instructions, such as `cpsid`, are sensitive but do not trap (`cpsid` is a nop in user-space).

If you have a VisionFive 2 or a HiFive Premier P550, you can try it out, the instructions are in the documentation [2, 3]. Of course, it runs on QEMU too.

As Miralis is a research project, we have also been using it as a vehicle to explore other research ideas, such as automated verification of hypervisors [4]. For instance, we verified instruction emulation by comparing Miralis' implementation with the reference RISC-V executable specification [5], which we translated to Rust.

It has been fun working on Miralis, I hope you'll find it interesting too!

[1]: https://dl.acm.org/doi/pdf/10.1145/361011.361073

[2]: https://miralis-firmware.github.io/docs/platforms/visionfive...

[3]: https://miralis-firmware.github.io/docs/platforms/premierp55...

[4]: https://charlycst.github.io/papers/lightweight-hypervisor-ve...

[5]: https://github.com/riscv/sail-riscv

The GTA logo is based on this free font inspired by a game show

https://www.creativebloq.com/news/yes-the-gta-logo-is-based-on-a-free-font-inspired-by-a-game-sho...
1•gaws•2m ago•0 comments

Anthropic and OpenAI should release their secret internal models

https://www.dwarkesh.com/p/no-internal-external-gap
1•jekude•3m ago•0 comments

Show HN: I made a game about quantum immortality

https://ninefold.club
1•flymetothestar•3m ago•0 comments

Docker VMM – new virtualization layer under Docker Desktop

https://www.docker.com/blog/announcing-docker-vmm-ga/
1•gempir•4m ago•0 comments

The Most Glaring Contradiction in Jensen Huang's Interview with Congress

https://www.nytimes.com/2026/12/02/business/economy/jensen-huang-testimony-contradiction.html
1•alwillis•6m ago•0 comments

Show HN: An always-changing audiovisual collage powered by Wikimedia Commons

https://commonwealth.ochre.works/
1•muxtupe•7m ago•0 comments

The Covered List Moved Inside the Box

https://blog.ppb1701.com/the-covered-list-moved-inside-the-box
1•speckx•7m ago•0 comments

California calls Kalshi an illegal gambling operation in latest state lawsuit

https://www.coindesk.com/policy/2026/12/02/california-calls-out-kalshi-as-illegal-gambling-operat...
2•PaulHoule•8m ago•0 comments

Smart Deterministic: a manifesto for systems people trust and like

https://five250.com/blog/smart-deterministic
1•carucio•8m ago•0 comments

Implementing 128-bit atomics in Cranelift

https://trifectatech.org/blog/implementing-128-bit-atomics-in-cranelift/
1•dverlaeckt80•9m ago•0 comments

CNPG Extensions Catalog

https://cnpg-extensions.github.io
1•brianritz•9m ago•0 comments

Filesystem performance traps in the standard library

https://mropert.github.io/2026/11/24/filesystem_traps/
2•dverlaeckt80•9m ago•0 comments

With a Counterexample, Mathematicians Show That It's an Unfair World

https://www.quantamagazine.org/with-a-counterexample-mathematicians-show-that-its-an-unfair-world...
1•dverlaeckt80•9m ago•0 comments

Jordan – a trading companion that tells you when you have no edge

https://meetjordan.com
1•GeorgeTurner•11m ago•0 comments

How Linux ended up with Tux the Penguin as its Mascot

https://www.patreon.com/OpenSourceWatch/posts/how-linux-ended-177060409
1•CrankyBear•12m ago•0 comments

What ends if you miss it?

https://fantomko.substack.com/p/what-ends-if-you-miss-it
1•fantomkoenig•14m ago•0 comments

Show HN: Cubicle – A pixel-art office where AI agents work on your repo

https://github.com/JustVugg/cubicle
3•vforno•15m ago•0 comments

The tokenmaxxing era is over. Keep agent loops running for less

https://falconer.com/notes/agent-loops-cost/
1•quinndupies•16m ago•0 comments

Every Step You Take: Quality-of-Life and Life Expectancy

https://hersco.com/education-center/gait-quality-of-life/
1•jambalaya8•16m ago•0 comments

Meta Nears Deal to Lease AI Chips from Google-Blackstone Venture

https://www.bloomberg.com/news/articles/2026-12-02/meta-nears-deal-to-lease-ai-chips-from-google-...
1•hannakrause•18m ago•0 comments

Show HN: Sample-incident-response-agent, open-source AI agent from AWS CIRT

https://github.com/aws-samples/sample-incident-response-agent
1•dozercat•19m ago•0 comments

How we secure Figma's multiplayer agent platform

https://www.figma.com/blog/how-we-secure-figmas-multiplayer-agent-platform/
3•paulproteus•20m ago•0 comments

Benchmark: The same GitHub Actions jobs on GitHub-hosted and Groundbox runners

https://github.com/Ground-box/benchmarks
1•kurtistryber•21m ago•0 comments

Upgrading AWS Context. Act on the Map You've Written

https://orbitalhq.com/blog/2026-12-02-aws-context-map-that-acts/
1•tetsuto•22m ago•0 comments

Smuggling, leasing and stockpiling: how China sneaks in banned AI chips

https://www.theguardian.com/world/2026/dec/02/how-china-smuggles-in-banned-ai-chips-nvidia-us-exp...
1•gmays•26m ago•0 comments

Plato's Key: One Rotation Lets One LLM Use Another's Memory

https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key
2•cybermango•27m ago•0 comments

China tested a new space-based weapon, Pentagon says

https://www.bbc.com/news/articles/cqzjr0mk9g1do
1•raffael_de•27m ago•0 comments

T-Mobile Sidekick

https://en.wikipedia.org/wiki/T-Mobile_Sidekick
3•devonnull•29m ago•0 comments

OpenAI: Business users' frontier-model requests grew 3.5x since April

https://openai.com/index/the-demand-for-frontier-intelligence/
1•acossta•30m ago•0 comments

Caves of Qud's upcoming DLC is letting its devs get even weirder

https://www.pcgamer.com/games/roguelike/we-are-getting-more-deranged-caves-of-quds-upcoming-dlc-i...
2•Tomte•30m ago•0 comments