Page MenuHomeFreeBSD

Simplify the meaning of return values from the bhyve's inout handlers.
ClosedPublic

Authored by neel on Jul 25 2014, 6:00 AM.
Tags
None
Referenced Files
F106738427: D480.diff
Sat, Jan 4, 4:27 PM
Unknown Object (File)
Nov 6 2024, 9:33 PM
Unknown Object (File)
Oct 28 2024, 7:27 AM
Unknown Object (File)
Oct 5 2024, 5:45 PM
Unknown Object (File)
Oct 5 2024, 2:05 PM
Unknown Object (File)
Oct 5 2024, 6:30 AM
Unknown Object (File)
Oct 3 2024, 12:05 AM
Unknown Object (File)
Oct 2 2024, 1:23 AM
Subscribers
None

Details

Reviewers
grehan
jhb
Summary

inout handlers now return 0 on success and non-zero on failure. This also
helps to eliminate VMEXIT_POWEROFF and VMEXIT_RESET as return values from
VM-exit handlers.

Test Plan

Verified no regression in atkbd and 0xcf9 reset.
Verified no regression in ACPI poweroff.
Verified no regression in #GP, #PF and #AC generation by inout string emulation.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

neel retitled this revision from to Simplify the meaning of return values from the bhyve's inout handlers..
neel updated this object.
neel edited the test plan for this revision. (Show Details)
neel added reviewers: jhb, grehan.
jhb edited edge metadata.

Looks good to me.

This revision is now accepted and ready to land.Jul 25 2014, 5:34 PM
grehan edited edge metadata.

Looks fine.