|
|
99cbc7 |
From 1a2abd15b50c99659fe850673d95a2edd75f19a1 Mon Sep 17 00:00:00 2001
|
|
|
99cbc7 |
Message-Id: <1a2abd15b50c99659fe850673d95a2edd75f19a1@dist-git>
|
|
|
99cbc7 |
From: Martin Kletzander <mkletzan@redhat.com>
|
|
|
99cbc7 |
Date: Mon, 23 Nov 2015 12:46:36 +0100
|
|
|
99cbc7 |
Subject: [PATCH] RHEL: qemu: Support vhost-user-multiqueue with QEMU 2.3
|
|
|
99cbc7 |
|
|
|
99cbc7 |
RHEL-only
|
|
|
99cbc7 |
|
|
|
99cbc7 |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207692
|
|
|
99cbc7 |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1284416
|
|
|
99cbc7 |
|
|
|
99cbc7 |
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
|
99cbc7 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
99cbc7 |
---
|
|
|
99cbc7 |
src/qemu/qemu_capabilities.c | 7 +++++--
|
|
|
99cbc7 |
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
99cbc7 |
|
|
|
99cbc7 |
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
|
|
|
99cbc7 |
index 0d79780f25..fc1cf53066 100644
|
|
|
99cbc7 |
--- a/src/qemu/qemu_capabilities.c
|
|
|
99cbc7 |
+++ b/src/qemu/qemu_capabilities.c
|
|
|
99cbc7 |
@@ -4000,8 +4000,11 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps,
|
|
|
99cbc7 |
virQEMUCapsSet(qemuCaps, QEMU_CAPS_CPU_AARCH64_OFF);
|
|
|
99cbc7 |
|
|
|
99cbc7 |
/* vhost-user supports multi-queue from v2.4.0 onwards,
|
|
|
99cbc7 |
- * but there is no way to query for that capability */
|
|
|
99cbc7 |
- if (qemuCaps->version >= 2004000)
|
|
|
99cbc7 |
+ * but there is no way to query for that capability
|
|
|
99cbc7 |
+ *
|
|
|
99cbc7 |
+ * RHEL-only: The change was back-ported to earlier QEMU version,
|
|
|
99cbc7 |
+ * particularly 2.3, in BZ 1276100 */
|
|
|
99cbc7 |
+ if (qemuCaps->version >= 2003000)
|
|
|
99cbc7 |
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQUEUE);
|
|
|
99cbc7 |
|
|
|
99cbc7 |
/* smm option is supported from v2.4.0 */
|
|
|
99cbc7 |
--
|
|
|
99cbc7 |
2.18.0
|
|
|
99cbc7 |
|