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

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