freebsd-skq/sys/amd64/vmm/io
Neel Natu 920bc34090 Fix a bug in the MSI-X resource allocation for PCI passthrough devices.
In the case where the underlying host had disabled MSI-X via the
"hw.pci.enable_msix" tunable, the ppt_setup_msix() function would fail
and return an error without properly cleaning up. This in turn would
cause a page fault on the next boot of the guest.

Fix this by calling ppt_teardown_msix() in all the error return paths.

Obtained from:	NetApp
2012-11-22 04:07:18 +00:00
..
iommu.c Allocate memory pages for the guest from the host's free page queue. 2012-10-08 23:41:26 +00:00
iommu.h Allocate memory pages for the guest from the host's free page queue. 2012-10-08 23:41:26 +00:00
ppt.c Fix a bug in the MSI-X resource allocation for PCI passthrough devices. 2012-11-22 04:07:18 +00:00
ppt.h MSI-x interrupt support for PCI pass-thru devices. 2012-04-28 16:28:00 +00:00
vdev.c
vdev.h
vlapic.c Calculate the number of host ticks until the next guest timer interrupt. 2012-10-20 08:23:05 +00:00
vlapic.h Calculate the number of host ticks until the next guest timer interrupt. 2012-10-20 08:23:05 +00:00