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

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