@@ -325,6 +325,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"pxb",
"pxb-pcie", /* 220 */
+ "nec-usb-xhci-ports",
);
@@ -1683,6 +1684,10 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsICH9[] = {
{ "disable_s4", QEMU_CAPS_ICH9_DISABLE_S4 },
};
+static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsUSBNECXHCI[] = {
+ { "p3", QEMU_CAPS_NEC_USB_XHCI_PORTS },
+};
+
struct virQEMUCapsObjectTypeProps {
const char *type;
struct virQEMUCapsStringFlags *props;
@@ -1746,6 +1751,8 @@ static struct virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
ARRAY_CARDINALITY(virQEMUCapsObjectPropsVirtioBalloon) },
{ "virtio-balloon-device", virQEMUCapsObjectPropsVirtioBalloon,
ARRAY_CARDINALITY(virQEMUCapsObjectPropsVirtioBalloon) },
+ { "nec-usb-xhci", virQEMUCapsObjectPropsUSBNECXHCI,
+ ARRAY_CARDINALITY(virQEMUCapsObjectPropsUSBNECXHCI) },
};
@@ -356,6 +356,7 @@ typedef enum {
/* 220 */
QEMU_CAPS_DEVICE_PXB_PCIE, /* -device pxb-pcie */
+ QEMU_CAPS_NEC_USB_XHCI_PORTS, /* -device nec-usb-xhci.p3 ports settin */
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;
@@ -1668,6 +1668,17 @@
}
}
+
+{
+ "return": [
+ {
+ "name": "msi",
+ "type": "uint32"
+ }
+ ]
+}
+
+
{
"return": [
{
@@ -128,4 +128,5 @@
<flag name='virtio-net'/>
<flag name='qxl.vram64_size_mb'/>
<flag name='qxl-vga.vram64_size_mb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -1849,6 +1849,35 @@
{
"return": [
{
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
+ "return": [
+ {
"name": "xenpv"
},
{
@@ -129,4 +129,5 @@
<flag name='virtio-net'/>
<flag name='qxl.vram64_size_mb'/>
<flag name='qxl-vga.vram64_size_mb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -1897,6 +1897,35 @@
{
"return": [
{
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
+ "return": [
+ {
"name": "xenpv"
},
{
@@ -138,4 +138,5 @@
<flag name='virtio-net'/>
<flag name='qxl.vram64_size_mb'/>
<flag name='qxl-vga.vram64_size_mb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -1968,6 +1968,35 @@
{
"return": [
{
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
+ "return": [
+ {
"name": "pc-q35-1.4",
"cpu-max": 255
},
@@ -144,4 +144,5 @@
<flag name='virtio-net'/>
<flag name='qxl.vram64_size_mb'/>
<flag name='qxl-vga.vram64_size_mb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -2030,6 +2030,35 @@
{
"return": [
{
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
+ "return": [
+ {
"name": "xenpv",
"cpu-max": 1
},
@@ -144,4 +144,5 @@
<flag name='virtio-net'/>
<flag name='qxl.vram64_size_mb'/>
<flag name='qxl-vga.vram64_size_mb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -1994,6 +1994,35 @@
{
"return": [
{
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
+ "return": [
+ {
"name": "xenpv",
"cpu-max": 1
},
@@ -162,4 +162,5 @@
<flag name='qxl.vram64_size_mb'/>
<flag name='qxl-vga.vram64_size_mb'/>
<flag name='debug-threads'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -2450,6 +2450,39 @@
}
{
+ "return": [
+ {
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "superspeed-ports-first",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
"return": [
{
"name": "pc-1.3",
@@ -174,4 +174,5 @@
<flag name='qxl-vga.vram64_size_mb'/>
<flag name='debug-threads'/>
<flag name='pxb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -2969,6 +2969,47 @@
}
{
+ "return": [
+ {
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "superspeed-ports-first",
+ "type": "on/off"
+ },
+ {
+ "name": "force-pcie-endcap",
+ "type": "on/off"
+ },
+ {
+ "name": "streams",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
"return": [
{
"name": "pc-i440fx-2.4",
@@ -175,4 +175,5 @@
<flag name='qxl-vga.vram64_size_mb'/>
<flag name='debug-threads'/>
<flag name='pxb'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -2989,6 +2989,47 @@
}
{
+ "return": [
+ {
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "superspeed-ports-first",
+ "type": "on/off"
+ },
+ {
+ "name": "force-pcie-endcap",
+ "type": "on/off"
+ },
+ {
+ "name": "streams",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
"return": [
{
"name": "pc-i440fx-2.4",
@@ -180,4 +180,5 @@
<flag name='secret'/>
<flag name='pxb'/>
<flag name='pxb-pcie'/>
+ <flag name='nec-usb-xhci-ports'/>
</qemuCaps>
@@ -2995,6 +2995,47 @@
}
{
+ "return": [
+ {
+ "name": "msi",
+ "type": "on/off"
+ },
+ {
+ "name": "msix",
+ "type": "on/off"
+ },
+ {
+ "name": "superspeed-ports-first",
+ "type": "on/off"
+ },
+ {
+ "name": "force-pcie-endcap",
+ "type": "on/off"
+ },
+ {
+ "name": "streams",
+ "type": "on/off"
+ },
+ {
+ "name": "intrs",
+ "type": "uint32"
+ },
+ {
+ "name": "slots",
+ "type": "uint32"
+ },
+ {
+ "name": "2",
+ "type": "uint32"
+ },
+ {
+ "name": "p3",
+ "type": "uint32"
+ }
+ ]
+}
+
+{
"return": [
{
"name": "pc-i440fx-2.4",