You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
From d65f119ef9f44a6a957f28ed61453845f7a82327 Mon Sep 17 00:00:00 2001 |
|
Message-Id: <d65f119ef9f44a6a957f28ed61453845f7a82327@dist-git> |
|
From: Martin Kletzander <mkletzan@redhat.com> |
|
Date: Mon, 23 Nov 2015 12:46:36 +0100 |
|
Subject: [PATCH] RHEL: qemu: Support vhost-user-multiqueue with QEMU 2.3 |
|
|
|
RHEL-only |
|
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207692 |
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1284416 |
|
|
|
Signed-off-by: Martin Kletzander <mkletzan@redhat.com> |
|
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> |
|
--- |
|
src/qemu/qemu_capabilities.c | 7 +++++-- |
|
1 file changed, 5 insertions(+), 2 deletions(-) |
|
|
|
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c |
|
index 7f248bdbcc..264733a3c5 100644 |
|
--- a/src/qemu/qemu_capabilities.c |
|
+++ b/src/qemu/qemu_capabilities.c |
|
@@ -4681,8 +4681,11 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps, |
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_CPU_AARCH64_OFF); |
|
|
|
/* vhost-user supports multi-queue from v2.4.0 onwards, |
|
- * but there is no way to query for that capability */ |
|
- if (qemuCaps->version >= 2004000) |
|
+ * but there is no way to query for that capability |
|
+ * |
|
+ * RHEL-only: The change was back-ported to earlier QEMU version, |
|
+ * particularly 2.3, in BZ 1276100 */ |
|
+ if (qemuCaps->version >= 2003000) |
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VHOSTUSER_MULTIQUEUE); |
|
|
|
/* smm option is supported from v2.4.0 */ |
|
-- |
|
2.17.0 |
|
|
|
|