[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 19/22] virtio-mmio: Remove user_creatable flag
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 19/22] virtio-mmio: Remove user_creatable flag |
Date: |
Wed, 17 May 2017 10:40:00 -0300 |
virtio-mmio needs to be wired and mapped by other device or board
code, and won't work with -device. Remove the user_creatable flag
from the device class.
Cc: Laszlo Ersek <address@hidden>
Cc: Marcel Apfelbaum <address@hidden>
Cc: Peter Maydell <address@hidden>
Cc: Shannon Zhao <address@hidden>
Cc: "Michael S. Tsirkin" <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Acked-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
hw/virtio/virtio-mmio.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/hw/virtio/virtio-mmio.c b/hw/virtio/virtio-mmio.c
index 6491a771ff..5807aa87fe 100644
--- a/hw/virtio/virtio-mmio.c
+++ b/hw/virtio/virtio-mmio.c
@@ -450,11 +450,6 @@ static void virtio_mmio_class_init(ObjectClass *klass,
void *data)
dc->reset = virtio_mmio_reset;
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
dc->props = virtio_mmio_properties;
- /*
- * 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 virtio_mmio_info = {
--
2.11.0.259.g40922b1
- [Qemu-devel] [PULL 08/22] ioapic: Remove user_creatable flag, (continued)
- [Qemu-devel] [PULL 08/22] ioapic: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 10/22] sysbus-ahci: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 11/22] allwinner-ahci: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 12/22] isabus-bridge: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 13/22] unimplemented-device: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 15/22] esp: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 14/22] fw_cfg: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 17/22] hpet: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 16/22] generic-sdhci: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 18/22] sysbus-ohci: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 19/22] virtio-mmio: Remove user_creatable flag,
Eduardo Habkost <=
- [Qemu-devel] [PULL 20/22] xen-sysdev: Remove user_creatable flag, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 21/22] s390-pcibus: No need to set user_creatable=false explicitly, Eduardo Habkost, 2017/05/17
- [Qemu-devel] [PULL 22/22] tests: Add [+-]feature and feature=on|off test cases, Eduardo Habkost, 2017/05/17
- Re: [Qemu-devel] [PULL 00/22] x86 and machine queue, 2017-05-17, Stefan Hajnoczi, 2017/05/17