Re: [Qemu-devel] [PATCH] qdev: modify func qdev_build_hotpluggable_device_list

2014-11-03 Thread Paolo Bonzini
On 02/11/2014 18:21, Jun Li wrote: Currently when *obj is not a TYPE_DEVICE, qemu will abort. This patch just fixed it. When *obj is not a TYPE_DEVICE, just do not add it to hotpluggable device list. This patch also fixed the following issue: 1, boot qemu using cli:

[Qemu-devel] [PATCH] qdev: modify func qdev_build_hotpluggable_device_list

2014-11-02 Thread Jun Li
Currently when *obj is not a TYPE_DEVICE, qemu will abort. This patch just fixed it. When *obj is not a TYPE_DEVICE, just do not add it to hotpluggable device list. This patch also fixed the following issue: 1, boot qemu using cli: virtio-scsi-pci,id=scsi0 -enable-kvm 2, device_del scsi0 via hmp