yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/pc-Drop-RHEL-6-compat_props-virtio-serial-pci-max_ports-vectors.patch

9ae3a8
From fc8a3e5647791e0e4fbcc28bb1e9afa5c158711f Mon Sep 17 00:00:00 2001
9ae3a8
From: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
Date: Wed, 31 Jul 2013 08:03:48 +0200
9ae3a8
Subject: pc: Drop RHEL-6 compat_props virtio-serial-pci.{max_ports, vectors}
9ae3a8
9ae3a8
Message-id: <1375201922-6794-7-git-send-email-armbru@redhat.com>
9ae3a8
Patchwork-id: 52819
9ae3a8
O-Subject: [RHEL-7 PATCH v3 06/15] pc: Drop RHEL-6 compat_props virtio-serial-pci.{max_ports, vectors}
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
RHEL-6 has them only in RHEL-5 machine types.  See qemu-kvm-rhel6
9ae3a8
commit aad5614.
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 aae891e..5dffeb2 100644
9ae3a8
--- a/hw/i386/pc_piix.c
9ae3a8
+++ b/hw/i386/pc_piix.c
9ae3a8
@@ -928,14 +928,6 @@ static QEMUMachine pc_machine_rhel700 = {
9ae3a8
         .property = "use_broken_id",\
9ae3a8
         .value    = stringify(1),\
9ae3a8
     },{\
9ae3a8
-        .driver   = "virtio-serial-pci",\
9ae3a8
-        .property = "max_ports",\
9ae3a8
-        .value    = stringify(1),\
9ae3a8
-    },{\
9ae3a8
-        .driver   = "virtio-serial-pci",\
9ae3a8
-        .property = "vectors",\
9ae3a8
-        .value    = stringify(0),\
9ae3a8
-    },{\
9ae3a8
         .driver   = "VGA",\
9ae3a8
         .property = "rombar",\
9ae3a8
         .value    = stringify(0),\