Re: [libvirt] [PATCH] pci address conflict when virtio disk with drive type address

2011-10-19 Thread Eric Blake
On 10/18/2011 11:32 PM, Xu He Jie wrote: Hmm, you are right. domain_conf didn't separate with different layer. So I found another place that in the qemu layer for the fix. The patch as below: Signed-off-by: Xu He Jie x...@linux.vnet.ibm.com --- src/qemu/qemu_command.c | 10 +++--- 1 files

Re: [libvirt] [PATCH] pci address conflict when virtio disk with drive type address

2011-10-19 Thread Xu He Jie
于 2011年10月19日 21:55, Eric Blake 写道: On 10/18/2011 11:32 PM, Xu He Jie wrote: Hmm, you are right. domain_conf didn't separate with different layer. So I found another place that in the qemu layer for the fix. The patch as below: Signed-off-by: Xu He Jie x...@linux.vnet.ibm.com ---

[libvirt] [PATCH] pci address conflict when virtio disk with drive type address

2011-10-18 Thread Xu He Jie
When using the xml as below: --- devices disk type='file' device='disk' driver name='qemu' type='qcow2'/ source file='/home/soulxu/VM/images/linux.img'/ target dev='hda' bus='virtio'/ address type='drive' controller='0' bus='0' unit='0'/

Re: [libvirt] [PATCH] pci address conflict when virtio disk with drive type address

2011-10-18 Thread Eric Blake
On 10/18/2011 03:30 AM, Xu He Jie wrote: When using the xml as below: memballoon model='virtio' address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0'/ /memballoon /devices - Then can't statup qemu, the error message as

Re: [libvirt] [PATCH] pci address conflict when virtio disk with drive type address

2011-10-18 Thread Xu He Jie
于 2011年10月18日 22:52, Eric Blake 写道: On 10/18/2011 03:30 AM, Xu He Jie wrote: When using the xml as below: memballoon model='virtio' address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0'/ /memballoon /devices - Then can't statup qemu, the