|
| 1 | +<?xml version="1.0"?> |
| 2 | +<domain type="xen" id="3"> |
| 3 | + <name>test-for-clone1</name> |
| 4 | + <uuid>00000000-1111-2222-3333-444444444444</uuid> |
| 5 | + <memory>409600</memory> |
| 6 | + <currentMemory>204800</currentMemory> |
| 7 | + <vcpu>5</vcpu> |
| 8 | + <os> |
| 9 | + <type arch="i686">hvm</type> |
| 10 | + <loader>/usr/lib/xen/boot/hvmloader</loader> |
| 11 | + <boot dev="hd"/> |
| 12 | + </os> |
| 13 | + <features> |
| 14 | + <acpi/> |
| 15 | + <apic/> |
| 16 | + </features> |
| 17 | + <clock offset="utc"/> |
| 18 | + <on_poweroff>destroy</on_poweroff> |
| 19 | + <on_reboot>restart</on_reboot> |
| 20 | + <on_crash>restart</on_crash> |
| 21 | + <devices> |
| 22 | + <emulator>/usr/lib/xen/bin/qemu-dm</emulator> |
| 23 | + <disk type="block" device="disk"> |
| 24 | + <source dev="/disk-pool/diskvol1-clone"/> |
| 25 | + <target dev="sda" bus="scsi"/> |
| 26 | + <address type="drive" controller="0" bus="0" unit="0"/> |
| 27 | + </disk> |
| 28 | + <disk type="block" device="cdrom"> |
| 29 | + <target dev="sdb" bus="scsi"/> |
| 30 | + <readonly/> |
| 31 | + <address type="drive" controller="0" bus="0" unit="1"/> |
| 32 | + </disk> |
| 33 | + <disk type="block" device="disk"> |
| 34 | + <source dev="/default-pool/collidevol1.img"/> |
| 35 | + <target dev="sdc" bus="scsi"/> |
| 36 | + <readonly/> |
| 37 | + <address type="drive" controller="0" bus="0" unit="2"/> |
| 38 | + </disk> |
| 39 | + <disk type="block" device="disk"> |
| 40 | + <source dev="/default-pool/sharevol.img"/> |
| 41 | + <target dev="sdx" bus="scsi"/> |
| 42 | + <shareable/> |
| 43 | + <address type="drive" controller="3" bus="0" unit="2"/> |
| 44 | + </disk> |
| 45 | + <controller type="scsi" index="0"/> |
| 46 | + <controller type="scsi" index="1"/> |
| 47 | + <controller type="scsi" index="2"/> |
| 48 | + <controller type="scsi" index="3"/> |
| 49 | + <interface type="network"> |
| 50 | + <mac address="00:11:22:33:44:55"/> |
| 51 | + <source network="default"/> |
| 52 | + <target dev="testnet0"/> |
| 53 | + <model type="e1000"/> |
| 54 | + </interface> |
| 55 | + <interface type="user"> |
| 56 | + <mac address="00:11:22:33:44:55"/> |
| 57 | + <target dev="testnet1"/> |
| 58 | + </interface> |
| 59 | + <parallel type="file"> |
| 60 | + <source path="/tmp/foo.log"/> |
| 61 | + <target port="0"/> |
| 62 | + </parallel> |
| 63 | + <memballoon model="xen"/> |
| 64 | + </devices> |
| 65 | +</domain> |
0 commit comments