<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I"d like to know how to setup my conf to use virtio for disks.<br>
<br>
For the moment, my conf and templates where set to DISK BUS = IDE.
But I found that my disk accesses are quite slow.<br>
<br>
I tried to change my template to:<br>
<meta charset="utf-8">
<table id="template_template_table" class="info_table"
style="background-image: none; background-attachment: scroll;
background-color: rgb(255, 255, 255); border-collapse: collapse;
margin: 20px; text-align: left; display: inline-block; width:
980.546875px; vertical-align: top; overflow: auto; color: rgb(34,
34, 34); font-family: Arial, Verdana, Geneva, Helvetica,
sans-serif; font-size: 13px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-position: 0px 0px; background-repeat: repeat repeat;">
<tbody>
<tr>
<td class="key_td" style="border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-color: rgb(204,
204, 204); color: rgb(53, 55, 53); padding: 6px 8px 6px 0px;
min-width: 150px; text-align: left; font-weight: bold;">DISK</td>
<td class="value_td" style="border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-color: rgb(204,
204, 204); color: rgb(53, 55, 53); padding: 6px 8px;
text-align: left; width: 781px;"><br>
</td>
</tr>
<tr>
<td class="key_td" style="border-bottom-width: 0px; color:
rgb(53, 55, 53); padding: 6px 8px; min-width: 150px;
text-align: left; font-weight: bold;"><br>
</td>
<td class="value_td" style="border-bottom-width: 0px; color:
rgb(53, 55, 53); padding: 6px 8px; text-align: left; width:
781px;"><br>
</td>
</tr>
<tr>
<td class="key_td" style="border-bottom-width: 0px; color:
rgb(53, 55, 53); padding: 1px 8px 1px 25px; min-width:
150px; text-align: left; font-weight: normal;">BUS</td>
<td class="value_td" style="border-bottom-width: 0px; color:
rgb(53, 55, 53); padding: 1px 8px; text-align: left; width:
781px;">virtio</td>
</tr>
</tbody>
</table>
<br>
But I see no difference.<br>
<br>
Looking at kmv process I see:<br>
111 904 1 26 11:49 ? 00:00:51 /usr/bin/kvm -S -M
pc-0.12 -enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 -name
one-570 -uuid b4178b7d-1b4c-7bd0-992e-bcecc5cef875 -nodefaults
-chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-570.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc
-boot c -drive
file=/var/lib/one//datastores/0/570/disk.0,if=none,id=drive-ide0-0-0,format=raw
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0
-drive
file=/var/lib/one//datastores/0/570/disk.1,if=none,media=cdrom,id=drive-ide0-0-1,readonly=on,format=raw
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1
-device
rtl8139,vlan=0,id=net0,mac=00:04:c0:a8:02:14,bus=pci.0,addr=0x3 -net
tap,fd=20,vlan=0,name=hostnet0 -usb -vnc 0.0.0.0:570 -k fr -vga
cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4<br>
<br>
<br>
I see that the drive definition is always if=none (-drive
file=/var/lib/one//datastores/0/570/disk.0,if=none). Should not it
be set to if=virtio ?<br>
<br>
Thanks<br>
<br>
Olivier<br>
<pre class="moz-signature" cols="72">--
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
</pre>
</body>
</html>