]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu caps: spell queue
authorJán Tomko <jtomko@redhat.com>
Mon, 15 Jun 2015 08:38:21 +0000 (10:38 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 15 Jun 2015 11:32:44 +0000 (13:32 +0200)
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuxml2argvtest.c

index 8a64422fb028194d3552409255b966497ada4e46..27a632abe08c99bd6bc8ad4cef36019ebea86468 100644 (file)
@@ -286,7 +286,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               "pci-serial",
               "aarch64-off",
 
-              "vhost-user-multiq", /* 190 */
+              "vhost-user-multiqueue", /* 190 */
     );
 
 
@@ -3317,7 +3317,7 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps,
     /* vhost-user supports multi-queue from v2.4.0 onwards,
      * but there is no way to query for that capability */
     if (qemuCaps->version >= 2004000)
-        virQEMUCapsSet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQ);
+        virQEMUCapsSet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQUEUE);
 
     if (virQEMUCapsProbeQMPCommands(qemuCaps, mon) < 0)
         goto cleanup;
index 3c166b6fd79ee65b8d105e8516bf4b3db1e39c80..30aa50430146b6e8d6e54c85cac8e1af4c4d3229 100644 (file)
@@ -229,7 +229,7 @@ typedef enum {
     QEMU_CAPS_DEA_KEY_WRAP       = 187, /* -machine dea_key_wrap */
     QEMU_CAPS_DEVICE_PCI_SERIAL  = 188, /* -device pci-serial */
     QEMU_CAPS_CPU_AARCH64_OFF    = 189, /* -cpu ...,aarch64=off */
-    QEMU_CAPS_VHOSTUSER_MULTIQ   = 190, /* vhost-user with -netdev queues= */
+    QEMU_CAPS_VHOSTUSER_MULTIQUEUE = 190, /* vhost-user with -netdev queues= */
 
     QEMU_CAPS_LAST,                   /* this must always be the last item */
 } virQEMUCapsFlags;
index 1351cba42e894e6d34c22aa7177fbd19abd01832..3886b4fc6359709ec6a6737c774954ef4558cdbf 100644 (file)
@@ -8148,7 +8148,7 @@ qemuBuildVhostuserCommandLine(virCommandPtr cmd,
                       net->info.alias, net->info.alias);
 
     if (queues > 1) {
-        if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQ)) {
+        if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQUEUE)) {
             virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
                            _("multi-queue is not supported for vhost-user "
                              "with this QEMU binary"));
index 35bfd290f08a01c650eff321dd2121ec39a60ea3..a90f9a66e41303c90974a2f19dde18d2b9a0aafc 100644 (file)
@@ -981,7 +981,7 @@ mymain(void)
     DO_TEST_PARSE_ERROR("vhost_queues-invalid", NONE);
     DO_TEST("net-vhostuser", QEMU_CAPS_DEVICE, QEMU_CAPS_NETDEV);
     DO_TEST("net-vhostuser-multiq",
-            QEMU_CAPS_DEVICE, QEMU_CAPS_NETDEV, QEMU_CAPS_VHOSTUSER_MULTIQ);
+            QEMU_CAPS_DEVICE, QEMU_CAPS_NETDEV, QEMU_CAPS_VHOSTUSER_MULTIQUEUE);
     DO_TEST_FAILURE("net-vhostuser-multiq", QEMU_CAPS_DEVICE, QEMU_CAPS_NETDEV);
     DO_TEST("net-user", NONE);
     DO_TEST("net-virtio", NONE);