vfio-pci: Add extra debugging
Often when debugging it's useful to be able to disable bypass pathsso no interactions with the device are missed. Add some extra debugoptions to do this. Also add device info on read/write BAR accesses,which is useful when debugging more than one assigned device. A...
qemu vfio-pci: Graphics device quirks
Graphics cards have a number of different backdoors. Some of theseare alternative ways to get PCI BAR addresses, some of them arecomplete mirrors of PCI config space available through MMIO andI/O port access. These quirks cover a number of ATI Radeon and...
qemu vfio-pci: Add support for VGA MMIO and I/O port access
Most VGA cards need some kind of quirk to fully operate since theyhide backdoors to get to other registers outside of PCI config spacewithin the registers, but this provides the base infrastructure. If...
vfio-pci: Generalize PCI config mangling
Kernel-side vfio virtualizes all of config space, but some parts areunique to Qemu. For instance we may or may not expose the ROM BAR,Qemu manages MSI/MSIX, and Qemu manages the multi-function bit so thatsingle function devices can appear as multi-function and vica versa....
vfio-pci: Add PCIe capability mangling based on bus type
Windows seems to pay particular interest to the PCIe header type ofdevices and will fail to load drivers if we attach Endpoint devices orLegacy Endpoint devices to the Root Complex. We can usepci_bus_is_express and pci_bus_is_root to determine the bus type and...
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
milkymist-minimac2: Just expose buffers as a sysbus mmio region
Just expose the register buffers memory as a standard sysbus mmioregion which the creator of the device can map, rather thanproviding a qdev property which the creator has to set to thebase address and then doing the mapping in the device's own...
milkymist-softusb: Don't map RAM memory regions in the device itself
Don't map the pmem and dmem RAM memory regions in the milkymist-softusbdevice itself. Instead just expose them as sysbus mmio regions whichthe device creator can map appropriately. This allows us to drop the...
hw/milkymist-softusb: set buffer in softusb_read_{dmem, pmem} error path
Make sure we set the buffer to something in the softusb_read_{dmem,pmem}error paths, since the caller will use the buffer unconditionally.(Newer gcc is smart enough to spot this and complain about 'may be...
sysbus: Remove sysbus_add_memory and sysbus_del_memory
Remove the sysbus_add_memory and sysbus_del_memory functions. Theseare trivial wrappers for mapping a memory region into the systemmemory space, and have no users now. Sysbus devices should never map...
View revisions
Also available in: Atom