yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/pc-Drop-RHEL-6-USB-device-compat_prop-full-path.patch

218e99
From ff0ad2681b06e4e7e0eadc281d3efda171bd1f5e Mon Sep 17 00:00:00 2001
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Date: Wed, 31 Jul 2013 08:03:35 +0200
218e99
Subject: pc: Drop RHEL-6 USB device compat_prop full-path
218e99
218e99
Message-id: <1375201922-6794-6-git-send-email-armbru@redhat.com>
218e99
Patchwork-id: 52814
218e99
O-Subject: [RHEL-7 PATCH v3 05/15] pc: Drop RHEL-6 USB device compat_prop full-path
218e99
Bugzilla: 983991
218e99
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
218e99
RH-Acked-by: Bandan Das <bsd@redhat.com>
218e99
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
218e99
Upstream added property full-path to USB devices in commit eeb0cf9
218e99
(v1.1) for migration compatibility.  RHEL-6 got the feature in commit
218e99
29b10d1 (6.2), but without the property, because 6.2 was the first
218e99
version capable of migrating USB devices.  Therefore, full-path needs
218e99
to remain on by default for all machine types.
218e99
218e99
Signed-off-by: Markus Armbruster <armbru@redhat.com>
218e99
218e99
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
218e99
index 5d57a76..aae891e 100644
218e99
--- a/hw/i386/pc_piix.c
218e99
+++ b/hw/i386/pc_piix.c
218e99
@@ -904,10 +904,6 @@ static QEMUMachine pc_machine_rhel700 = {
218e99
         .property = "vapic",\
218e99
         .value    = "off",\
218e99
     },{\
218e99
-        .driver   = TYPE_USB_DEVICE,\
218e99
-        .property = "full-path",\
218e99
-        .value    = "no",\
218e99
-    },{\
218e99
         .driver   = "virtio-blk-pci",\
218e99
         .property = "event_idx",\
218e99
         .value    = "off",\