<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I try to use virtio under KVM for the disks of my VMs.<br>
<br>
However, when I start my VM and I look at the kvm command line
executed by opennebula I see:<br>
<br>
-drive
file=/var/lib/one//datastores/0/614/disk.0,if=none,id=drive-virtio-disk0,boot=on,format=raw<br>
<br>
The disk id is drive-virtio-disk0, so this tells me tat something
about virtio is fine but if=none bothers me.<br>
<br>
When I search for kvm/virtio, I see that if should be set to virtio.<br>
<br>
Is it fine this way or did I miss something?<br>
<br>
<br>
I have set in my image template:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<table id="img_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:
1052.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: auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-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;">BUS</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: 878px;">virtio</td>
</tr>
<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;">DESCRIPTION</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: 878px;">virtio test</td>
</tr>
<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;">DEV_PREFIX</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: 878px;">vd<br>
</td>
</tr>
</tbody>
</table>
<big><big><br>
</big></big>
<pre class="moz-signature" cols="72"><big><big>
Thanks
Olivier</big></big>
</pre>
<br>
<br>
<br>
-- gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</body>
</html>