Re: [Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Paolo Bonzini
Il 29/05/2013 06:41, Amos Kong ha scritto: > On Tue, May 28, 2013 at 01:15:57PM +0200, Paolo Bonzini wrote: >> Il 28/05/2013 13:00, Amos Kong ha scritto: >>> Recent virtio refactoring in QEMU made virtio-bus become the parent bus >>> of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implemen

Re: [Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 01:15:57PM +0200, Paolo Bonzini wrote: > Il 28/05/2013 13:00, Amos Kong ha scritto: > > Recent virtio refactoring in QEMU made virtio-bus become the parent bus > > of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, > > so redundant typename will be adde

Re: [Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 07:00:59PM +0800, Amos Kong wrote: > Recent virtio refactoring in QEMU made virtio-bus become the parent bus > of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, > so redundant typename will be added to fw_dev_path. It causes that > bootindex parameter

Re: [Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 13:00, Amos Kong ha scritto: > Recent virtio refactoring in QEMU made virtio-bus become the parent bus > of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, > so redundant typename will be added to fw_dev_path. It causes that > bootindex parameter of scsi device d

[Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
Recent virtio refactoring in QEMU made virtio-bus become the parent bus of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, so redundant typename will be added to fw_dev_path. It causes that bootindex parameter of scsi device doesn't work. This patch changes qdev_get_fw_dev_pa