[et-mgmt-tools] (no subject)
Cole Robinson
crobinso at redhat.com
Mon Apr 14 16:08:26 UTC 2008
Fabien COMBERNOUS wrote:
> Hi,
>
> I'm testing libvirt (0.4.0) and virt-manager (0.5.3) with KVM.
> With the virt-manager i can run a vm with this command line :
>
> /usr/bin/kvm -M pc -m 128 -smp 1 -monitor pty -boot c -hda=/opt/vm/file_hda.img
> -hdb=/opt/vm/file_hdb.img -net nic,macaddr=00:16:3e:0f:d1:71,vlan=0 -net
> tap,fd=20,script=,vlan=0 -usb -vnc 127.0.0.1:2
>
> But i don't want IDE. I want SCSI. So the command shoud be :
>
> /usr/bin/kvm -M pc -m 128 -smp 1 -monitor pty -boot c -drive
> file=/opt/vm/file_hda.img,if=scsi,bus=0,unit=3 -drive
> file=/opt/vm/file_hdb.img,if=scsi,bus=0,unit=5 -net
> nic,macaddr=00:16:3e:0f:d1:71,vlan=0 -net tap,fd=20,script=,vlan=0 -usb -vnc
> 127.0.0.1:2
>
> What is the xml tags to use in /etc/libvirt/qemu/ xml files to get scsi devices
> ? Or is it possible directly with GUI ?
>
> P.S : My CPU is with VT enabled (vmx flag).
>
> Later.
>
> --
> Fabien COMBERNOUS
> http://linux.ares.fr
>
There actually isn't support in libvirt yet for specifying scsi devices
to qemu, so there is no applicable xml to give you that command line.
If you could file a feature request in bugzilla against libvirt to help
us keep track of it, it would be greatly appreciated.
Thanks,
Cole
More information about the et-mgmt-tools
mailing list