News for hackers. Stuff that matters.
Re:Writing a Hypervisor in 1k Lines by arjvik on Tuesday September 02, 2025 @02:22PM (#45107035)
RISC-V is fully trap-and-emulate-able and so you can even do this without the virtualization extension! Though page table walks and the like will be done in hardware and thus will be very slow.
Re:Writing a Hypervisor in 1k Lines by drob518 on Tuesday September 02, 2025 @02:49PM (#45107377)
I think you mean “…will be done in software…,” right?
Re:Writing a Hypervisor in 1k Lines by arjvik on Tuesday September 02, 2025 @04:48PM (#45108830)
Yes oops!
Re:Writing a Hypervisor in 1k Lines by nerpderp82 on Tuesday September 02, 2025 @05:14PM (#45109154)
Could you do page table walks in RVV?
Re:Writing a Hypervisor in 1k Lines by remexre on Tuesday September 02, 2025 @05:46PM (#45109512)
They're dependent loads, so probably not except for the last level of page tables (and that's just be "prefetching" -- doing 4/8/etc walks in parallel, not 1 walk in less time).