summaryrefslogtreecommitdiff
path: root/tests/data/clone/readonly-disks-in.xml
blob: c3962c9a041e407b4c5158a68f7b4bc4d6ee9d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<domain type='kvm'>
  <name>clone-orig</name>
  <uuid>aaa3ae22-fed2-bfbd-ac02-3bea3bcfad82</uuid>
  <memory>262144</memory>
  <currentMemory>262144</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686' machine='pc'>hvm</type>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/tmp/virtinst-test1.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='/tmp/virtinst-test1.img'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
    </disk>
    <disk type='file' device='disk'>
      <source file='/tmp/virtinst-test2.img'/>
      <target dev='sda' bus='scsi'/>
    </disk>
    <disk type='block' device='cdrom'>
      <target dev='sdb' bus='scsi'/>
      <readonly/>
    </disk>
    <disk type='file' device='cdrom'>
      <source file='/tmp/virtinst-test2.img'/>
      <target dev='sdc' bus='scsi'/>
      <readonly/>
      <shareable/>
    </disk>
    <interface type='network'>
      <mac address='52:54:00:6c:a0:cb'/>
      <source network='test1'/>
    </interface>
    <interface type='network'>
      <mac address='52:54:00:6c:bb:ca'/>
      <source network='test2'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
  </devices>
</domain>