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

Signed-off-by: Cole Robinson <crobi...@redhat.com>
---
 examples/xml/test/testnodeinline.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/xml/test/testnodeinline.xml 
b/examples/xml/test/testnodeinline.xml
index 9165d9302d..90805f025a 100644
--- a/examples/xml/test/testnodeinline.xml
+++ b/examples/xml/test/testnodeinline.xml
@@ -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'>
-- 
2.37.3

Reply via email to