diff options
author | Marcel Apfelbaum | 2015-11-10 12:41:29 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-11-12 15:23:16 +0100 |
commit | 1811e64c35fe1d9bce77952937a16c001dc08465 (patch) | |
tree | 633b6458d78849640385ef4e605f9b4794878e23 /include/hw | |
parent | vhost: send SET_VRING_ENABLE at start/stop (diff) | |
download | qemu-1811e64c35fe1d9bce77952937a16c001dc08465.tar.gz qemu-1811e64c35fe1d9bce77952937a16c001dc08465.tar.xz qemu-1811e64c35fe1d9bce77952937a16c001dc08465.zip |
hw/virtio: Add PCIe capability to virtio devices
The virtio devices are converted to PCI-Express
if they are plugged into a PCI-Express bus and
the 'modern' protocol is enabled.
Devices plugged directly into the Root Complex as
Integrated Endpoints remain PCI.
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>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h index 65799c1868..845aace577 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -8,6 +8,10 @@ .value = "true",\ },{\ .driver = "virtio-pci",\ + .property = "x-disable-pcie",\ + .value = "on",\ + },{\ + .driver = "virtio-pci",\ .property = "migrate-extra",\ .value = "off",\ }, |