There are a lot of asserts in libvmm codebase, especially the x86_64 path. A lot of these asserts can trip if the guest does something unexpected, like writing to a read only IO Port. In cases like this we should gracefully handle the error rather than crashing everything.
We should only use assert for invariants that must be maintained in the codebase, rather than a condition that the guest can cause.
There are a lot of asserts in libvmm codebase, especially the x86_64 path. A lot of these asserts can trip if the guest does something unexpected, like writing to a read only IO Port. In cases like this we should gracefully handle the error rather than crashing everything.
We should only use assert for invariants that must be maintained in the codebase, rather than a condition that the guest can cause.