<div dir="ltr">Hi Olivier,<div><br></div><div>target=vda means it's using virtio. You are actually probably using virtio.</div><div><br></div><div>what happens if you do from inside the VM:</div><div><div># /sbin/lsmod | grep virtio</div>
<div># find /sys/devices/virtio*<br></div></div><div><br></div><div>cheers,<br>Jaime</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 24, 2013 at 11:03 AM, Olivier Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On 10/22/2013 09:49 AM, Olivier Sallou wrote:<br>
> Hi<br>
> I have set up virtio on a Debian recent image (and guest has drivers<br>
> loaded) but I face some perf issues (frequent freezes with kernel errors).<br>
><br>
> I looked at open nebula generated template and I see in deployment file:<br>
><br>
> <disk type='file' device='disk'><br>
> <source file='/var/lib/one//datastores/0/697/disk.0'/><br>
> <target dev='vda'/><br>
> <driver name='qemu' type='raw' cache='none'/><br>
> </disk><br>
><br>
> My disk is correctly mounted as vda, but I do not see any "virtio"<br>
> reference in the VM template, is it fine ?<br>
><br>
> In kvm command line I see drive related info:<br>
><br>
> ... -drive<br>
> file=/var/lib/one//datastores/0/697/disk.0,if=none,id=drive-virtio-disk0,boot=on,format=raw,cache=none<br>
> -device<br>
> virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0<br>
</div>Loooking at KVM/virtio doc, it seems that we should have for disk:<br>
file=...,if=virtio<br>
<br>
I wonder why open nebula does not set it while target is correctly set<br>
to vda ? Where/what should I check in my config/setup to get virtio<br>
working correctly?<br>
<br>
Thanks<br>
<br>
Olivier<br>
<div>><br>
> Is configuration ok (and I should investigue somewhere else) or is there<br>
> an issue with my config ?<br>
><br>
> In Image template I have DEV_PREFIX=vd.<br>
><br>
> I use OpenNebula 4.2.0<br>
><br>
><br>
> Thanks<br>
><br>
> Olivier<br>
><br>
<br>
--<br>
Olivier Sallou<br>
IRISA / University of Rennes 1<br>
</div>Campus de Beaulieu, 35000 RENNES - FRANCE<br>
Tel: 02.99.84.71.95<br>
<div><div><br>
gpg key id: 4096R/326D8438 (<a href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)<br>
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>
</div>
</div></div>