File: virt-xml-edit-simple-redirdev.xml

package info (click to toggle)
virt-manager 1%3A1.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,368 kB
  • ctags: 6,267
  • sloc: python: 39,151; xml: 14,807; makefile: 14; sh: 6
file content (13 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
       </source>
       <rom bar="off"/>
     </hostdev>
-    <redirdev bus="usb" type="tcp">
-      <source mode="connect" host="localhost" service="4000"/>
+    <redirdev bus="usb" type="spicevmc">
+      <source mode="connect" host="example.com" service="12345"/>
       <protocol type="raw"/>
     </redirdev>
     <watchdog model="ib700" action="poweroff"/>

Domain 'test-for-virtxml' defined successfully.
Changes will take effect after the next domain shutdown.