mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: add capabilities bit for device xio3130-downstream
The downstream ports of an x3130-upstream switch can each have one of these plugged into them (and that is the only place they can be connected). Each xio3130-downstream provides a single PCIe port that can have PCI or PCIe devices hotplugged into it. Apparently an entire set of x3130-upstream + several xio3130-downstreams can be hotplugged as a unit, but it's not clear to me yet how that would be done, since qemu only allows attaching a single device at a time. This device will be used to implement the "pcie-switch-downstream-port" model of pci controller.
This commit is contained in:
@@ -122,4 +122,5 @@
|
||||
<flag name='qxl-vga.vgamem_mb'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -137,4 +137,5 @@
|
||||
<flag name='pci-serial'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -138,4 +138,5 @@
|
||||
<flag name='pci-serial'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -147,4 +147,5 @@
|
||||
<flag name='pci-serial'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -153,4 +153,5 @@
|
||||
<flag name='pci-serial'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -153,4 +153,5 @@
|
||||
<flag name='pci-serial'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -169,4 +169,5 @@
|
||||
<flag name='pci-serial'/>
|
||||
<flag name='ioh3420'/>
|
||||
<flag name='x3130-upstream'/>
|
||||
<flag name='xio3130-downstream'/>
|
||||
</qemuCaps>
|
||||
|
||||
@@ -755,7 +755,8 @@ mymain(void)
|
||||
QEMU_CAPS_SPLASH_TIMEOUT,
|
||||
QEMU_CAPS_DEVICE_IVSHMEM,
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM);
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM,
|
||||
QEMU_CAPS_DEVICE_XIO3130_DOWNSTREAM);
|
||||
DO_TEST("qemu-1.1.0", 1001000, 0, 0,
|
||||
QEMU_CAPS_VNC_COLON,
|
||||
QEMU_CAPS_NO_REBOOT,
|
||||
@@ -857,7 +858,8 @@ mymain(void)
|
||||
QEMU_CAPS_SPLASH_TIMEOUT,
|
||||
QEMU_CAPS_DEVICE_IVSHMEM,
|
||||
QEMU_CAPS_DEVICE_IOH3420,
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM);
|
||||
QEMU_CAPS_DEVICE_X3130_UPSTREAM,
|
||||
QEMU_CAPS_DEVICE_XIO3130_DOWNSTREAM);
|
||||
DO_TEST_FULL("qemu-1.2.0", 1002000, 0, 0, VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
QEMU_CAPS_LAST);
|
||||
DO_TEST_FULL("qemu-kvm-1.2.0", 1002000, 1, 0, VIR_ERR_CONFIG_UNSUPPORTED,
|
||||
|
||||
Reference in New Issue
Block a user