Re: [Qemu-devel] [PATCH 2/4] qdev/qbus: Add hidden device support

2019-05-21 Thread Michael S. Tsirkin
On Fri, May 17, 2019 at 02:58:18PM +0200, Jens Freimann wrote: > This adds support for hiding a device to the qbus and qdev APIs. > qdev_device_add() is modified to check for a standby argument in the > option string. A DeviceListener callback should_be_hidden() is added. It > can be used by a

[Qemu-devel] [PATCH 2/4] qdev/qbus: Add hidden device support

2019-05-17 Thread Jens Freimann
This adds support for hiding a device to the qbus and qdev APIs. qdev_device_add() is modified to check for a standby argument in the option string. A DeviceListener callback should_be_hidden() is added. It can be used by a standby device to inform qdev that this device should not be added now.