Add an API to deliver message signalled interrupts to vcpus. This allows
authorneel <neel@FreeBSD.org>
Mon, 16 Dec 2013 19:59:31 +0000 (19:59 +0000)
committerneel <neel@FreeBSD.org>
Mon, 16 Dec 2013 19:59:31 +0000 (19:59 +0000)
commite62c100b9074abf0c5045dbae2bfcc173275a3ef
tree8ec9e1a8b6bf2777a53d91e51e51248ba5823e74
parent2977cb4d97c105f640bb6bcf17b86d9d91295a99
Add an API to deliver message signalled interrupts to vcpus. This allows
callers treat the MSI 'addr' and 'data' fields as opaque and also lets
bhyve implement multiple destination modes: physical, flat and clustered.

Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)
Reviewed by: grehan@
15 files changed:
lib/libvmmapi/vmmapi.c
lib/libvmmapi/vmmapi.h
sys/amd64/include/vmm_dev.h
sys/amd64/vmm/io/ppt.c
sys/amd64/vmm/io/ppt.h
sys/amd64/vmm/io/vhpet.c
sys/amd64/vmm/io/vioapic.c
sys/amd64/vmm/io/vlapic.c
sys/amd64/vmm/io/vlapic.h
sys/amd64/vmm/vmm_dev.c
sys/amd64/vmm/vmm_lapic.c
sys/amd64/vmm/vmm_lapic.h
usr.sbin/bhyve/pci_emul.c
usr.sbin/bhyve/pci_emul.h
usr.sbin/bhyve/pci_passthru.c