Blame SOURCES/kvm-hw-dma-i8257-Remove-redundant-downstream-user_creata.patch

9bac43
From 374294de467ebc115e70f0804e98081753d51c3b Mon Sep 17 00:00:00 2001
9bac43
From: Thomas Huth <thuth@redhat.com>
9bac43
Date: Thu, 19 Oct 2017 10:16:47 +0200
9bac43
Subject: [PATCH 65/69] hw/dma/i8257: Remove redundant downstream
9bac43
 user_creatable = false
9bac43
9bac43
RH-Author: Thomas Huth <thuth@redhat.com>
9bac43
Message-id: <1508408209-5712-2-git-send-email-thuth@redhat.com>
9bac43
Patchwork-id: 77372
9bac43
O-Subject: [RHV7.5 qemu-kvm-rhev PATCH 1/3] hw/dma/i8257: 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 i8257_class_init() function has already user_creatable = false
9bac43
at the end of the function in the upstream code, so there is no
9bac43
need to set this again with downstream-only code.
9bac43
9bac43
Signed-off-by: Thomas Huth <thuth@redhat.com>
9bac43
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9bac43
---
9bac43
 hw/dma/i8257.c | 2 --
9bac43
 1 file changed, 2 deletions(-)
9bac43
9bac43
diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c
9bac43
index e52a679..bd23e89 100644
9bac43
--- a/hw/dma/i8257.c
9bac43
+++ b/hw/dma/i8257.c
9bac43
@@ -591,8 +591,6 @@ static void i8257_class_init(ObjectClass *klass, void *data)
9bac43
     dc->reset = i8257_reset;
9bac43
     dc->vmsd = &vmstate_i8257;
9bac43
     dc->props = i8257_properties;
9bac43
-    /* Disabled for Red Hat Enterprise Linux: */
9bac43
-    dc->user_creatable = false;
9bac43
 
9bac43
     idc->get_transfer_mode = i8257_dma_get_transfer_mode;
9bac43
     idc->has_autoinitialization = i8257_dma_has_autoinitialization;
9bac43
-- 
9bac43
1.8.3.1
9bac43