virtio-mmio: Remove user_creatable flag
commitae3ac6cacac02e88899e62db0b2bb5713a6796be
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 3 May 2017 20:36:02 +0000 (3 17:36 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 17 May 2017 13:37:01 +0000 (17 10:37 -0300)
tree84ed056b4d3e022c9feef3b6523e565c59be4d1f
parent8f04d26a4eb59708c96cb0c52c3a7c638a656380
virtio-mmio: Remove user_creatable flag

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 <lersek@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Shannon Zhao <zhaoshenglong@huawei.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170503203604.31462-20-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/virtio/virtio-mmio.c