mirror of https://gitee.com/openkylin/libvirt.git
13 lines
671 B
Plaintext
13 lines
671 B
Plaintext
(vm (name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)\
|
|
(uuid 'b5d70dd2-75cd-aca5-1776-9660b059d8bc')(on_poweroff 'destroy')\
|
|
(on_reboot 'restart')(on_crash 'restart')\
|
|
(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(vcpus 1)(boot c)\
|
|
(acpi 1)(pae 1)(usb 1)(parallel none)(serial pty)\
|
|
(device_model '/usr/lib64/xen/bin/qemu-dm')(vnc 1)\
|
|
(vncunused 0)(vncdisplay 17)(keymap 'ja')(rtc_timeoffset 0)(localtime 0)))\
|
|
(localtime 0)\
|
|
(device (vbd (dev 'hda:disk')(uname 'file:/root/foo.img')(mode 'w')))\
|
|
(device (vbd (dev 'hdc:cdrom')(uname 'file:/root/boot.iso')(mode 'r')))\
|
|
(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')\
|
|
(model 'e1000'))))
|