summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2010-11-08 12:27:41 +0100
committerJiri Denemark <jdenemar@redhat.com>2010-11-09 15:35:43 +0100
commit38eec464f874c25e9095d6862d0b459475d9de4d (patch)
treef93de2f0839bb6b4c106d22160f59c312d4412df /tests/domainschemadata
parentMisc test case fixes for SPICE (diff)
downloadlibvirt-38eec464f874c25e9095d6862d0b459475d9de4d.tar.gz
libvirt-38eec464f874c25e9095d6862d0b459475d9de4d.tar.bz2
libvirt-38eec464f874c25e9095d6862d0b459475d9de4d.zip
schema: Move timer element inside clock
Both conf/domain_conf.c and domain XML documentation have <timer> elements inside /domain/clock. Change domain.rng schema to be consistent with them.
Diffstat (limited to 'tests/domainschemadata')
-rw-r--r--tests/domainschemadata/timers.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/domainschemadata/timers.xml b/tests/domainschemadata/timers.xml
new file mode 100644
index 000000000..c1baa2ccf
--- /dev/null
+++ b/tests/domainschemadata/timers.xml
@@ -0,0 +1,28 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory>219200</memory>
+ <currentMemory>219200</currentMemory>
+ <vcpu>1</vcpu>
+ <os>
+ <type arch='i686' machine='pc'>hvm</type>
+ <boot dev='hd'/>
+ </os>
+ <clock offset='utc'>
+ <timer name='pit' tickpolicy='delay'/>
+ <timer name='hpet'/>
+ </clock>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu</emulator>
+ <disk type='block' device='disk'>
+ <source dev='/dev/HostVG/QEMUGuest1'/>
+ <target dev='hda' bus='ide'/>
+ <address type='drive' controller='0' bus='0' unit='0'/>
+ </disk>
+ <controller type='ide' index='0'/>
+ <memballoon model='virtio'/>
+ </devices>
+</domain>