[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 20/21] xen-sysdev: Remove user_creatable flag
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH v2 20/21] xen-sysdev: Remove user_creatable flag |
Date: |
Tue, 4 Apr 2017 17:24:28 -0300 |
TYPE_XENSYSDEV is only used internally by xen_be_init(), and is
not supposed to be plugged/unplugged dynamically. Remove the
user_creatable flag from the device class.
Cc: Juergen Gross <address@hidden>,
Cc: Peter Maydell <address@hidden>,
Cc: Thomas Huth <address@hidden>
Cc: address@hidden
Cc: Markus Armbruster <address@hidden>,
Cc: Marcel Apfelbaum <address@hidden>,
Cc: Laszlo Ersek <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
Changes series v1 -> v2:
* (New patch added to series)
---
hw/xen/xen_backend.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c
index 56df27992f..e48c5f48fc 100644
--- a/hw/xen/xen_backend.c
+++ b/hw/xen/xen_backend.c
@@ -663,11 +663,6 @@ static void xen_sysdev_class_init(ObjectClass *klass, void
*data)
k->init = xen_sysdev_init;
dc->props = xen_sysdev_properties;
dc->bus_type = TYPE_XENSYSBUS;
- /*
- * FIXME: Set only because we are not sure yet if this device
- * will be outside the q35 sysbus whitelist.
- */
- dc->user_creatable = true;
}
static const TypeInfo xensysdev_info = {
--
2.11.0.259.g40922b1
- [Qemu-devel] [PATCH v2 12/21] isabus-bridge: Remove user_creatable flag, (continued)
- [Qemu-devel] [PATCH v2 12/21] isabus-bridge: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 11/21] allwinner-ahci: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 10/21] sysbus-ahci: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 13/21] unimplemented-device: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 14/21] fw_cfg: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 15/21] esp: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 16/21] generic-sdhci: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 17/21] hpet: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 18/21] sysbus-ohci: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 19/21] virtio-mmio: Remove user_creatable flag, Eduardo Habkost, 2017/04/04
- [Qemu-devel] [PATCH v2 20/21] xen-sysdev: Remove user_creatable flag,
Eduardo Habkost <=
- [Qemu-devel] [PATCH v2 21/21] s390-pcibus: No need to set user_creatable=false explicitly, Eduardo Habkost, 2017/04/04
- Re: [Qemu-devel] [PATCH v2 00/21] qdev/sysbus: Set user_creatable=false by default on sysbus, Marcel Apfelbaum, 2017/04/06