Re: [PATCH 01/11] qdev/qbus: add hidden device support

2019-10-21 Thread Jens Freimann
On Mon, Oct 21, 2019 at 01:53:58PM +0100, Peter Maydell wrote: On Fri, 18 Oct 2019 at 21:22, Jens Freimann wrote: This adds support for hiding a device to the qbus and qdev APIs. The first user of this will be the virtio-net failover feature but the API introduced with this patch could be use

Re: [PATCH 01/11] qdev/qbus: add hidden device support

2019-10-21 Thread Peter Maydell
On Fri, 18 Oct 2019 at 21:22, Jens Freimann wrote: > > This adds support for hiding a device to the qbus and qdev APIs. The > first user of this will be the virtio-net failover feature but the API > introduced with this patch could be used to implement other features as > well, for example hiding

Re: [PATCH 01/11] qdev/qbus: add hidden device support

2019-10-21 Thread Jens Freimann
On Mon, Oct 21, 2019 at 02:44:08PM +0200, Cornelia Huck wrote: On Fri, 18 Oct 2019 22:20:30 +0200 Jens Freimann wrote: This adds support for hiding a device to the qbus and qdev APIs. The first user of this will be the virtio-net failover feature but the API introduced with this patch could b

Re: [PATCH 01/11] qdev/qbus: add hidden device support

2019-10-21 Thread Cornelia Huck
On Fri, 18 Oct 2019 22:20:30 +0200 Jens Freimann wrote: > This adds support for hiding a device to the qbus and qdev APIs. The > first user of this will be the virtio-net failover feature but the API > introduced with this patch could be used to implement other features as > well, for example hi

[PATCH 01/11] qdev/qbus: add hidden device support

2019-10-18 Thread Jens Freimann
This adds support for hiding a device to the qbus and qdev APIs. The first user of this will be the virtio-net failover feature but the API introduced with this patch could be used to implement other features as well, for example hiding pci devices when a pci bus is powered off. qdev_device_add()