<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 16, 2016 at 10:07 AM, Guido Günther <span dir="ltr"><<a href="mailto:agx@sigxcpu.org" target="_blank">agx@sigxcpu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The fix is to use qemu not kvm in the domain XML in this case.</blockquote></div><div class="gmail_extra"><br></div>If that is the way to go - to focus on testing qemu:/// - that is right.</div><div class="gmail_extra">The current call to virt-host-validate qemu already has a || true so it is not fatal which is good.</div><div class="gmail_extra"><br></div><div class="gmail_extra">What do you think of something like the following then (untested so far):</div><div class="gmail_extra">(this is based on my current d/t/control so your diff might be slightly different.</div><div class="gmail_extra">That gets more similar again when I rebase to your latest code early next week.)</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">diff --git a/debian/tests/control b/debian/tests/control</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">index c4f5244..cd15424 100644</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">--- a/debian/tests/control</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">+++ b/debian/tests/control</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,178)">@@ -4,7 +4,7 @@</span><span style="color:rgb(0,0,0)"> Restrictions: allow-stderr
</span><br>  <br> Tests: smoke-qemu-session
<br> Depends: libvirt-daemon-system, libvirt-clients, qemu-system, libxml2-utils,
<br><span style="color:rgb(178,24,24)">-         qemu-kvm</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,24)">+         qemu-user</span><span style="color:rgb(0,0,0)">
</span><br> Restrictions: allow-stderr, isolation-machine, needs-root
<br>  <br> Tests: smoke-lxc
<br><span style="font-weight:bold;color:rgb(0,0,0)">diff --git a/debian/tests/smoke-qemu-session.xml b/debian/tests/smoke-qemu-session.xml</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">index 47b33d5..c471ff2 100644</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">--- a/debian/tests/smoke-qemu-session.xml</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">+++ b/debian/tests/smoke-qemu-session.xml</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,178)">@@ -1,4 +1,4 @@</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(178,24,24)">-<domain type='kvm'></span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,24)">+<domain type='qemu'></span><span style="color:rgb(0,0,0)">
</span><br>   <name>sqs</name>
<br>   <memory unit='KiB'>256000</memory>
<br>   <currentMemory unit='KiB'>256000</currentMemory>
<br><span style="color:rgb(24,178,178)">@@ -18,7 +18,7 @@</span><span style="color:rgb(0,0,0)">
</span><br>   <on_reboot>destroy</on_reboot>
<br>   <on_crash>destroy</on_crash>
<br>   <devices>
<br><span style="color:rgb(178,24,24)">-    <emulator>/usr/bin/kvm</emulator></span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,24)">+    <emulator>/usr/bin/qemu-x86_64</emulator></span><span style="color:rgb(0,0,0)">
</span><br>     <controller type='virtio-serial' index='0'>
<br>       <alias name='virtio-serial0'/>
<br>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br></span><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div></div>