Re: [libvirt] [PATCH RFC 4/5] qemu: Build qemu command line for scsi-generic

2013-03-05 Thread Osier Yang
On 2013年03月04日 14:01, Han Cheng wrote: For scsi-generic, the command line will be like: -drive file=/dev/sg0,if=none,id=drive-hostdev-scsi0-0-0-0 -device scsi-generic,bus=scsi0.0,channel=0,scsi-id=4,lun=8,drive=drive-hostdev-scsi0-0-0-0,id=hostdev-scsi0-0-0-0 The relationship

[libvirt] [PATCH RFC 4/5] qemu: Build qemu command line for scsi-generic

2013-03-03 Thread Han Cheng
For scsi-generic, the command line will be like: -drive file=/dev/sg0,if=none,id=drive-hostdev-scsi0-0-0-0 -device scsi-generic,bus=scsi0.0,channel=0,scsi-id=4,lun=8,drive=drive-hostdev-scsi0-0-0-0,id=hostdev-scsi0-0-0-0 The relationship between the libvirt address attrs and the qdev