thebeanogamer / rpms / qemu-kvm

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