2011-02-26 06:20:58 +08:00
|
|
|
(domain (domid 1)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)\
|
|
|
|
(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')\
|
|
|
|
(on_reboot 'restart')(on_crash 'restart')\
|
|
|
|
(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(vcpus 1)(boot c)\
|
|
|
|
(cdrom '/root/boot.iso')(acpi 1)(usb 1)(parallel tcp:localhost:9999)\
|
|
|
|
(serial none)(device_model '/usr/lib64/xen/bin/qemu-dm')(vnc 1)))\
|
|
|
|
(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))\
|
|
|
|
(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')\
|
|
|
|
(script 'vif-bridge')(type ioemu))))
|