[virt-tools-list] [virt-manager PATCH 1/3] testdriver: Add vhostuser example

Lin Ma lma at suse.com
Fri Oct 20 09:08:27 UTC 2017


Signed-off-by: Lin Ma <lma at suse.com>
---
 tests/testdriver.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/testdriver.xml b/tests/testdriver.xml
index 5b0a277..9ac074e 100644
--- a/tests/testdriver.xml
+++ b/tests/testdriver.xml
@@ -528,6 +528,11 @@ Foo bar baz & yeah boii < > yeahfoo
       </virtualport>
       <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
     </interface>
+    <interface type="vhostuser">
+      <source type="unix" path="/tmp/vhost1.sock" mode="server"/>
+      <mac address="00:11:22:33:44:66"/>
+      <model type="virtio"/>
+    </interface>
 
 
     <!-- input devices -->
-- 
2.9.2




More information about the virt-tools-list mailing list