examples: testdriver: Add xmlns runstate example

The testdriver has xmlns support for overriding object default
state. demo it by pausing a VM

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2022-10-17 12:08:49 -04:00
parent 33178b9e52
commit a66aa06619

View File

@ -86,7 +86,8 @@
<console tty="/dev/pts/5"/>
</devices>
</domain>
<domain type='test'>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
<test:runstate>3</test:runstate> <!-- paused -->
<name>fc5</name>
<uuid>08721f993d1d4aec96eb97803297bb36</uuid>
<cpu mode='custom'>