diff options
| author | Michael S. Tsirkin | 2015-06-04 12:34:21 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-06-10 18:15:05 +0200 |
| commit | c17bef33601737e24a3d53259ddb6db28ac4d6d2 (patch) | |
| tree | be29f10c75358ddc6470ef4fce1a55133b1ed095 /hw | |
| parent | vhost: 64 bit features (diff) | |
| download | qemu-c17bef33601737e24a3d53259ddb6db28ac4d6d2.tar.gz qemu-c17bef33601737e24a3d53259ddb6db28ac4d6d2.tar.xz qemu-c17bef33601737e24a3d53259ddb6db28ac4d6d2.zip | |
linux-headers: add virtio_pci
Easier than duplicating code.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/virtio/virtio-pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 6d4f64e282..8dca87c34d 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -38,6 +38,8 @@ #define VIRTIO_PCI_REGION_SIZE(dev) VIRTIO_PCI_CONFIG_OFF(msix_present(dev)) +#undef VIRTIO_PCI_CONFIG + /* The remaining space is defined by each driver as the per-driver * configuration space */ #define VIRTIO_PCI_CONFIG_SIZE(dev) VIRTIO_PCI_CONFIG_OFF(msix_enabled(dev)) |
