On 19/01/2015 08:01, Ting Wang wrote:
> diff --git a/hw/core/qdev.c b/hw/core/qdev.c
> index 901f289..7d830a6 100644
> --- a/hw/core/qdev.c
> +++ b/hw/core/qdev.c
> @@ -89,7 +89,7 @@ static void bus_add_child(BusState *bus, DeviceState *child)
> kid->child = child;
> object_ref(OBJECT(k
When add a qdev device to bus, bus_add_child will be called.
But in this function, the new device is inserted to the head
of the list. That means the sequence will be reversed.
For example, if there are three virtio-scsi devices with
lun 0 to 2 in the same controller, in the Guest, device with
lu