Skip to content

Commit

Permalink
xen-sysdev: Remove user_creatable flag
Browse files Browse the repository at this point in the history
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 <[email protected]>,
Cc: Peter Maydell <[email protected]>,
Cc: Thomas Huth <[email protected]>
Cc: [email protected]
Cc: Markus Armbruster <[email protected]>,
Cc: Marcel Apfelbaum <[email protected]>,
Cc: Laszlo Ersek <[email protected]>
Acked-by: Juergen Gross <[email protected]>
Acked-by: Marcel Apfelbaum <[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
  • Loading branch information
ehabkost committed May 17, 2017
1 parent ae3ac6c commit 74c505c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hw/xen/xen_backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,11 +664,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 = {
Expand Down

0 comments on commit 74c505c

Please sign in to comment.