[et-mgmt-tools] (no subject)

Fabien COMBERNOUS fcombernous at ares.fr
Mon Apr 14 13:49:51 UTC 2008


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




More information about the et-mgmt-tools mailing list