diff options
| author | Marcel Apfelbaum | 2016-07-20 17:28:21 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-07-28 23:07:10 +0200 |
| commit | 9a4c0e220d8a4f82b5665d0ee95ef94d8e1509d5 (patch) | |
| tree | b89b7b61e60cf0c27fa255b015e7b098a50d1e52 /include | |
| parent | apb: convert init to realize (diff) | |
| download | qemu-9a4c0e220d8a4f82b5665d0ee95ef94d8e1509d5.tar.gz qemu-9a4c0e220d8a4f82b5665d0ee95ef94d8e1509d5.tar.xz qemu-9a4c0e220d8a4f82b5665d0ee95ef94d8e1509d5.zip | |
hw/virtio-pci: fix virtio behaviour
Enable transitional virtio devices by default.
Enable virtio-1.0 for devices plugged into
PCIe ports (Root ports or Downstream ports).
Using the virtio-1 mode will remove the limitation
of the number of devices that can be attached to a machine
by removing the need for the IO BAR.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h index e5113dcabc..7ee7299c36 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -6,6 +6,14 @@ .driver = "virtio-mmio",\ .property = "format_transport_address",\ .value = "off",\ + },{\ + .driver = "virtio-pci",\ + .property = "disable-modern",\ + .value = "on",\ + },{\ + .driver = "virtio-pci",\ + .property = "disable-legacy",\ + .value = "off",\ }, #define HW_COMPAT_2_5 \ |
