| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| --> | |
| <domain type='kvm' id='4'> | |
| <name>systemvm2</name> | |
| <memory>1572864</memory> | |
| <currentMemory>1572864</currentMemory> | |
| <vcpu>1</vcpu> | |
| <os> | |
| <type arch='i686' >hvm</type> | |
| </os> | |
| <features> | |
| <acpi/> | |
| <apic/> | |
| <pae/> | |
| </features> | |
| <clock offset='utc'/> | |
| <on_poweroff>destroy</on_poweroff> | |
| <on_reboot>restart</on_reboot> | |
| <on_crash>restart</on_crash> | |
| <devices> | |
| <!--<emulator>/usr/bin/qemu-system-x86_64</emulator>--> | |
| <emulator>/usr/bin/qemu-kvm</emulator> | |
| <disk type='file' device='disk'> | |
| <driver name='qemu' type='raw' cache='writeback'/> | |
| <source file='/var/lib/images/systemvm2/systemvm.img'/> | |
| <!-- <target dev='hda' bus='ide'/> --> | |
| <target dev='vda' bus='virtio'/> | |
| </disk> | |
| <interface type='network'> | |
| <mac address='52:54:00:65:a8:eb'/> | |
| <source network='default'/> | |
| <target dev='vnet0'/> | |
| <model type='virtio' /> | |
| </interface> | |
| <input type='mouse' bus='ps2'/> | |
| <graphics type='vnc' port='5900' autoport='yes'/> | |
| </devices> | |
| </domain> | |