mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00: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:
parent
33178b9e52
commit
a66aa06619
@ -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'>
|
||||
|
Loading…
Reference in New Issue
Block a user