search for: common_cap

Displaying 2 results from an estimated 2 matches for "common_cap".

2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...<linux/pci_regs.h> +#include <linux/virtio_pci.h> #include <endian.h> #include "kvm/devices.h" @@ -81,7 +82,12 @@ struct pci_device_header { u8 min_gnt; u8 max_lat; struct msix_cap msix; - u8 empty[136]; /* Rest of PCI config space */ + struct virtio_pci_cap common_cap; + struct virtio_pci_notify_cap notify_cap; + struct virtio_pci_cap isr_cap; + struct virtio_pci_cap device_cap; + struct virtio_pci_cfg_cap pci_cap; + u8 empty[48]; /* Rest of PCI config space */ u32 bar_size[6]; } __attribute__((packed)); diff --git a/include/kvm/virtio-9p.h b/include/kvm/...
2015 Nov 18
2
[RFC] kvmtool: add support for modern virtio-pci
...<linux/pci_regs.h> +#include <linux/virtio_pci.h> #include <endian.h> #include "kvm/devices.h" @@ -81,7 +82,12 @@ struct pci_device_header { u8 min_gnt; u8 max_lat; struct msix_cap msix; - u8 empty[136]; /* Rest of PCI config space */ + struct virtio_pci_cap common_cap; + struct virtio_pci_notify_cap notify_cap; + struct virtio_pci_cap isr_cap; + struct virtio_pci_cap device_cap; + struct virtio_pci_cfg_cap pci_cap; + u8 empty[48]; /* Rest of PCI config space */ u32 bar_size[6]; } __attribute__((packed)); diff --git a/include/kvm/virtio-9p.h b/include/kvm/...