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.
42 lines
1.7 KiB
42 lines
1.7 KiB
7 years ago
|
From 05574350f73c51d2ec34a8728ff4152d95be3525 Mon Sep 17 00:00:00 2001
|
||
|
Message-Id: <05574350f73c51d2ec34a8728ff4152d95be3525@dist-git>
|
||
|
From: Eric Blake <eblake@redhat.com>
|
||
|
Date: Tue, 7 Oct 2014 17:06:17 -0600
|
||
|
Subject: [PATCH] RHEL: qemu: support relative backing for RHEL 7.0.z qemu
|
||
|
|
||
|
RHEL-only: https://bugzilla.redhat.com/show_bug.cgi?id=1150322
|
||
|
|
||
|
qemu-kvm-rhev for RHEL 7.0.z backported enough code to allow
|
||
|
relative backing file manipulations, but could not backport
|
||
|
everything from upstream. So, instead of providing the upstream
|
||
|
'change-backing-file' QMP command, it added a downstream-only
|
||
|
'__com.redhat_change-backing-file' as a witness that relative
|
||
|
backing is supported, but not as full-featured. Since libvirt
|
||
|
from RHEL 7.1 may be driving an older qemu, we need to be able
|
||
|
to recognize the alternate spelling.
|
||
|
|
||
|
* src/qemu/qemu_capabilities.c (virQEMUCapsCommands): Also
|
||
|
recognize downstream spelling.
|
||
|
|
||
|
Signed-off-by: Eric Blake <eblake@redhat.com>
|
||
|
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
||
|
---
|
||
|
src/qemu/qemu_capabilities.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
|
||
|
index e54dde69ab..7f248bdbcc 100644
|
||
|
--- a/src/qemu/qemu_capabilities.c
|
||
|
+++ b/src/qemu/qemu_capabilities.c
|
||
|
@@ -1580,6 +1580,7 @@ struct virQEMUCapsStringFlags virQEMUCapsCommands[] = {
|
||
|
{ "add-fd", QEMU_CAPS_ADD_FD },
|
||
|
{ "nbd-server-start", QEMU_CAPS_NBD_SERVER },
|
||
|
{ "change-backing-file", QEMU_CAPS_CHANGE_BACKING_FILE },
|
||
|
+ { "__com.redhat_change-backing-file", QEMU_CAPS_CHANGE_BACKING_FILE },
|
||
|
{ "rtc-reset-reinjection", QEMU_CAPS_RTC_RESET_REINJECTION },
|
||
|
{ "migrate-incoming", QEMU_CAPS_INCOMING_DEFER },
|
||
|
{ "query-hotpluggable-cpus", QEMU_CAPS_QUERY_HOTPLUGGABLE_CPUS },
|
||
|
--
|
||
|
2.17.0
|
||
|
|