[libvirt-users] added second virtio-disk: disk order detected wrong

Stefan G. Weichinger lists at xunil.at
Fri Dec 3 15:13:13 UTC 2010


Am 03.12.2010 15:43, schrieb Stefan G. Weichinger:
> 
> Greets, I am unsure if it's a linux- or libvirt-issue:
> 
> I added a 2nd virtio-disk to a kvm-based VM.
> 
> The xml shows a correct "target":
> 
> 
> # first disk vda
> 
> <disk type='file' device='disk'>
>       <driver name='qemu' type='qcow2'/>
>       <source file='/mnt/r0/vm1_vda-clone.img'/>
>       <target dev='vda' bus='virtio'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
>     </disk>
> 
> # second disk vdb
> 
> <disk type='file' device='disk'>
>       <driver name='qemu' type='qcow2'/>
>       <source file='/mnt/r0/www3_var.img'/>
>       <target dev='vdb' bus='virtio'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
>     </disk>

Should I edit the xml and swap the "slots" ?

S




More information about the libvirt-users mailing list