thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-usb-add-microsoft-os-descriptors-compat-property.patch

0a122b
From 081943079e969c7f5edb5d52182b09da3230fb3b Mon Sep 17 00:00:00 2001
0a122b
From: Gerd Hoffmann <kraxel@redhat.com>
0a122b
Date: Mon, 3 Feb 2014 16:30:31 +0100
0a122b
Subject: [PATCH 07/28] usb: add microsoft os descriptors compat property
0a122b
0a122b
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
0a122b
Message-id: <1391445032-5540-5-git-send-email-kraxel@redhat.com>
0a122b
Patchwork-id: 57074
0a122b
O-Subject: [RHEL-7 qemu-kvm PATCH 4/5] usb: add microsoft os descriptors compat property
0a122b
Bugzilla: 1039530
0a122b
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
0a122b
RH-Acked-by: Juan Quintela <quintela@redhat.com>
0a122b
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
0a122b
Turn off for rhel6 machine types.  RHEL only patch.
0a122b
0a122b
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
0a122b
---
0a122b
 hw/i386/pc_piix.c | 4 ++++
0a122b
 1 file changed, 4 insertions(+)
0a122b
0a122b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
---
0a122b
 hw/i386/pc_piix.c |    4 ++++
0a122b
 1 files changed, 4 insertions(+), 0 deletions(-)
0a122b
0a122b
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
0a122b
index aac920a..697f12f 100644
0a122b
--- a/hw/i386/pc_piix.c
0a122b
+++ b/hw/i386/pc_piix.c
0a122b
@@ -900,6 +900,10 @@ static QEMUMachine pc_machine_rhel700 = {
0a122b
         .driver   = "virtio-net-pci",\
0a122b
         .property = "romfile",\
0a122b
         .value    = "rhel6-virtio.rom",\
0a122b
+    },{\
0a122b
+        .driver   = TYPE_USB_DEVICE,\
0a122b
+        .property = "msos-desc",\
0a122b
+        .value    = "no",\
0a122b
     }
0a122b
 
0a122b
 static void pc_compat_rhel650(QEMUMachineInitArgs *args)
0a122b
-- 
0a122b
1.7.1
0a122b