Re: [Qemu-devel] [PATCH 1/3] virtio: add bus_plugged() callback to VirtioDeviceClass

2013-06-05 Thread Frederic Konrad
On 04/06/2013 22:02, Jesse Larrew wrote: On 06/04/2013 12:35 PM, Andreas Färber wrote: Hi, Hi Andreas! Thanks for the review. :) Am 04.06.2013 18:22, schrieb Jesse Larrew: Virtio devices are initialized prior to plugging them into a bus. However, other initializations (such as host_feature

Re: [Qemu-devel] [PATCH 1/3] virtio: add bus_plugged() callback to VirtioDeviceClass

2013-06-05 Thread Frederic Konrad
On 04/06/2013 19:35, Andreas Färber wrote: Hi, Am 04.06.2013 18:22, schrieb Jesse Larrew: Virtio devices are initialized prior to plugging them into a bus. However, other initializations (such as host_features) don't occur until after the device is plugged into the bus. If a device needs to mod

Re: [Qemu-devel] [PATCH 1/3] virtio: add bus_plugged() callback to VirtioDeviceClass

2013-06-04 Thread Jesse Larrew
On 06/04/2013 12:35 PM, Andreas Färber wrote: > Hi, > Hi Andreas! Thanks for the review. :) > Am 04.06.2013 18:22, schrieb Jesse Larrew: >> Virtio devices are initialized prior to plugging them into a bus. However, >> other initializations (such as host_features) don't occur until after the >>

Re: [Qemu-devel] [PATCH 1/3] virtio: add bus_plugged() callback to VirtioDeviceClass

2013-06-04 Thread Andreas Färber
Hi, Am 04.06.2013 18:22, schrieb Jesse Larrew: > Virtio devices are initialized prior to plugging them into a bus. However, > other initializations (such as host_features) don't occur until after the > device is plugged into the bus. If a device needs to modify it's > configuration based on host_f

[Qemu-devel] [PATCH 1/3] virtio: add bus_plugged() callback to VirtioDeviceClass

2013-06-04 Thread Jesse Larrew
Virtio devices are initialized prior to plugging them into a bus. However, other initializations (such as host_features) don't occur until after the device is plugged into the bus. If a device needs to modify it's configuration based on host_features, then it needs to be notified when the bus is at