mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
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:
1 parent
33178b9e52
commit
a66aa06619
1 file changed
+2
-1
@@ -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'>
|
||||
|
||||
Reference in new issue
Block a user