Skip to content

Reduce amount of assert in the codebase #320

Description

@dreamliner787-9

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions