you don't need to do anything else ,just set DEV_PREFIX=vd ,it will enable virtio model.

于 2013-07-04 08:38, Olivier Sallou 回复:
Hi,
 I try to use virtio under KVM for the disks of my VMs.

 However, when I start my VM and I look at the kvm command line
executed by opennebula I see:

 -drive
file=/var/lib/one//datastores/0/614/disk.0,if=none,id=drive-virtio-disk0,boot=on,format=raw

 The disk id is drive-virtio-disk0, so this tells me tat something
about virtio is fine but if=none bothers me.

 When I search for kvm/virtio, I see that if should be set to virtio.

 Is it fine this way or did I miss something?

 I have set in my image template:

                BUS
                virtio

                DESCRIPTION
                virtio test

                DEV_PREFIX
 vd

Thanks

Olivier

 -- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint =
5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to