|
|
9ae3a8 |
From cbe9fe3834d08758bc787ac0800afb9ece6ed782 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Luiz Capitulino <lcapitulino@redhat.com>
|
|
|
9ae3a8 |
Date: Tue, 12 Nov 2013 17:10:04 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 01/14] pc: drop virtio-balloon-pci event_idx compat property
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Luiz Capitulino <lcapitulino@redhat.com>
|
|
|
9ae3a8 |
Message-id: <20131112121004.12eb9431@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 55664
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.0 qemu-kvm PATCH] pc: drop virtio-balloon-pci event_idx compat property
|
|
|
9ae3a8 |
Bugzilla: 1029539
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Juan Quintela <quintela@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Bugzilla: 1029539
|
|
|
9ae3a8 |
Brew-build: https://brewweb.devel.redhat.com/taskinfo?taskID=6564546
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Due to a bug, RHEL6 has never disabled the virtio-balloon-pci
|
|
|
9ae3a8 |
driver's event_idx property for machine types rhel6.0.0 and
|
|
|
9ae3a8 |
rhel6.1.0. The end result is that migration from RHEL6 to RHEL7
|
|
|
9ae3a8 |
fails for those machine types.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
The most obvious way to fix this problem is to fix RHEL6 to
|
|
|
9ae3a8 |
really disable the property. But this won't solve the problem
|
|
|
9ae3a8 |
for old RHEL6 binaries. Actually, it will make migration
|
|
|
9ae3a8 |
incompatible between old RHEL6 binaries and newer ones.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
This commit makes the mistake official instead by dropping
|
|
|
9ae3a8 |
the compat property for RHEL7. This fixes migration between
|
|
|
9ae3a8 |
RHEL6 and RHEL7 without adding any new problems.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
hw/i386/pc_piix.c | 9 +++++----
|
|
|
9ae3a8 |
1 file changed, 5 insertions(+), 4 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
PS: Will post RHEL6.6 patch later.
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
hw/i386/pc_piix.c | 9 +++++----
|
|
|
9ae3a8 |
1 files changed, 5 insertions(+), 4 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
|
|
|
9ae3a8 |
index 8bae4c5..e6771a9 100644
|
|
|
9ae3a8 |
--- a/hw/i386/pc_piix.c
|
|
|
9ae3a8 |
+++ b/hw/i386/pc_piix.c
|
|
|
9ae3a8 |
@@ -1030,6 +1030,11 @@ static QEMUMachine pc_machine_rhel620 = {
|
|
|
9ae3a8 |
DEFAULT_MACHINE_OPTIONS,
|
|
|
9ae3a8 |
};
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
+/*
|
|
|
9ae3a8 |
+ * NOTE: We don't have the event_idx compat entry for the
|
|
|
9ae3a8 |
+ * virtio-balloon-pci driver because RHEL6 doesn't disable
|
|
|
9ae3a8 |
+ * it either due to a bug (see RHBZ 1029539 fo more info)
|
|
|
9ae3a8 |
+ */
|
|
|
9ae3a8 |
#define PC_RHEL6_1_COMPAT \
|
|
|
9ae3a8 |
PC_RHEL6_2_COMPAT,\
|
|
|
9ae3a8 |
{\
|
|
|
9ae3a8 |
@@ -1061,10 +1066,6 @@ static QEMUMachine pc_machine_rhel620 = {
|
|
|
9ae3a8 |
.property = "event_idx",\
|
|
|
9ae3a8 |
.value = "off",\
|
|
|
9ae3a8 |
},{\
|
|
|
9ae3a8 |
- .driver = "virtio-balloon-pci",\
|
|
|
9ae3a8 |
- .property = "event_idx",\
|
|
|
9ae3a8 |
- .value = "off",\
|
|
|
9ae3a8 |
- },{\
|
|
|
9ae3a8 |
.driver = "usb-kbd",\
|
|
|
9ae3a8 |
.property = "serial",\
|
|
|
9ae3a8 |
.value = "1",\
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|