File: virt-xml-edit-simple-disk.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 (15 lines) | stat: -rw-r--r-- 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
   <devices>
     <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
     <disk type="block" device="floppy">
-      <source dev="/dev/null"/>
+      <source dev="/dev/zero" startupPolicy="optional"/>
       <target dev="fda" bus="fdc"/>
       <boot order="5"/>
       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
+      <readonly/>
     </disk>
     <disk type="file" device="disk">
       <source file="/tmp/foobar"/>

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