[one-users] virtio setup
Olivier Sallou
olivier.sallou at irisa.fr
Thu Oct 24 02:03:25 PDT 2013
On 10/22/2013 09:49 AM, Olivier Sallou wrote:
> Hi
> I have set up virtio on a Debian recent image (and guest has drivers
> loaded) but I face some perf issues (frequent freezes with kernel errors).
>
> I looked at open nebula generated template and I see in deployment file:
>
> <disk type='file' device='disk'>
> <source file='/var/lib/one//datastores/0/697/disk.0'/>
> <target dev='vda'/>
> <driver name='qemu' type='raw' cache='none'/>
> </disk>
>
> My disk is correctly mounted as vda, but I do not see any "virtio"
> reference in the VM template, is it fine ?
>
> In kvm command line I see drive related info:
>
> ... -drive
> file=/var/lib/one//datastores/0/697/disk.0,if=none,id=drive-virtio-disk0,boot=on,format=raw,cache=none
> -device
> virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0
Loooking at KVM/virtio doc, it seems that we should have for disk:
file=...,if=virtio
I wonder why open nebula does not set it while target is correctly set
to vda ? Where/what should I check in my config/setup to get virtio
working correctly?
Thanks
Olivier
>
> Is configuration ok (and I should investigue somewhere else) or is there
> an issue with my config ?
>
> In Image template I have DEV_PREFIX=vd.
>
> I use OpenNebula 4.2.0
>
>
> Thanks
>
> Olivier
>
--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
More information about the Users
mailing list