HomeFreeBSD

libvmmapi: Make vm_raise_msi() a common function

Description

libvmmapi: Make vm_raise_msi() a common function

Currently, bhyve PCI emulation uses vm_lapic_msi() to raise an MSI in
the guest. The arm64 port has a similar function, vm_raise_msi().
Add vm_raise_msi() on amd64 as well and have it simply call
vm_lapic_msi() so that bhyve can use a common, generically named
function.

Reviewed by: corvink, andrew, jhb
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D41752

Details

Provenance
markjAuthored on Apr 3 2024, 5:09 PM
Reviewer
corvink
Differential Revision
D41752: libvmmapi: Make vm_raise_msi() a common function
Parents
rG5ec6c3007e36: libvmmapi: Add arm64 support
Branches
Unknown
Tags
Unknown