HomeFreeBSD

Simplify bhyve vlapic ESR logic.

Description

Simplify bhyve vlapic ESR logic.

The bhyve virtual local APIC uses an instance-global flag to indicate
when an error LVT is being delivered to prevent infinite recursion.
Use a function argument instead to reduce the amount of instance-global
state.

This was inspired by reviewing the bhyve save/restore work, which
saves a copy of the instance-global state for each vlapic.

Smart OS bug: https://smartos.org/bugview/OS-7777
Submitted by: Patrick Mooney
Reviewed by: markj, rgrimes
Obtained from: SmartOS / Joyent
Differential Revision: https://reviews.freebsd.org/D20365

Details

Committed
jhbAug 29 2019, 6:23 PM
Reviewer
markj
Differential Revision
D20365: simplify bhyve vlapic ESR logic
Parents
rS351608: Use relative paths in ObsoleteFiles.inc
Branches
Unknown
Tags
Unknown