Blame SOURCES/kvm-hw-pci-host-q35-Remove-redundant-downstream-user_cre.patch

4a2fec
From 35474b23b1f30a940333ea5c76ff85080ff4410c Mon Sep 17 00:00:00 2001
4a2fec
From: Thomas Huth <thuth@redhat.com>
4a2fec
Date: Thu, 19 Oct 2017 10:16:48 +0200
4a2fec
Subject: [PATCH 66/69] hw/pci-host/q35: Remove redundant downstream
4a2fec
 user_creatable = false
4a2fec
4a2fec
RH-Author: Thomas Huth <thuth@redhat.com>
4a2fec
Message-id: <1508408209-5712-3-git-send-email-thuth@redhat.com>
4a2fec
Patchwork-id: 77374
4a2fec
O-Subject: [RHV7.5 qemu-kvm-rhev PATCH 2/3] hw/pci-host/q35: Remove redundant downstream user_creatable = false
4a2fec
Bugzilla: 1503998
4a2fec
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
4a2fec
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
4a2fec
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
4a2fec
4a2fec
The q35_host_class_init() function already sets user_creatable = false
4a2fec
in the upstream code, so there is no need to do this with a downstream
4a2fec
patch again.
4a2fec
4a2fec
Signed-off-by: Thomas Huth <thuth@redhat.com>
4a2fec
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
---
4a2fec
 hw/pci-host/q35.c | 1 -
4a2fec
 1 file changed, 1 deletion(-)
4a2fec
4a2fec
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
4a2fec
index a91418c..0e472f2 100644
4a2fec
--- a/hw/pci-host/q35.c
4a2fec
+++ b/hw/pci-host/q35.c
4a2fec
@@ -158,7 +158,6 @@ static void q35_host_class_init(ObjectClass *klass, void *data)
4a2fec
     dc->user_creatable = false;
4a2fec
     set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
4a2fec
     dc->fw_name = "pci";
4a2fec
-    dc->user_creatable = false; /* RH state preserve */
4a2fec
 }
4a2fec
 
4a2fec
 static void q35_host_initfn(Object *obj)
4a2fec
-- 
4a2fec
1.8.3.1
4a2fec