Skip to content

Test GuestMemory::try_access error cases #272

@JonathanWoollett-Light

Description

@JonathanWoollett-Light

#260 introduced error cases to resolve #269 but did not cover these with regression tests.

Writes tests that exercise the paths where GuestMemory::try_access returns Err(Error::CallbackOutOfRange) and Err(Error::GuestAddressOverflow).

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