[libvirt] [PATCH v2 1/3] tests: add a domain ID to live status XML doc

Daniel P. Berrangé berrange at redhat.com
Wed Dec 11 15:58:21 UTC 2019


The status XML represents a running VM, so we should always have an
ID present for the domain.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 tests/qemustatusxml2xmldata/vcpus-multi-in.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qemustatusxml2xmldata/vcpus-multi-in.xml b/tests/qemustatusxml2xmldata/vcpus-multi-in.xml
index 11ec74ecf8..be48c55fe0 100644
--- a/tests/qemustatusxml2xmldata/vcpus-multi-in.xml
+++ b/tests/qemustatusxml2xmldata/vcpus-multi-in.xml
@@ -310,7 +310,7 @@
   <allowReboot value='yes'/>
   <blockjobs active='no'/>
   <agentTimeout>-2</agentTimeout>
-  <domain type='kvm'>
+  <domain type='kvm' id='1729'>
     <name>QEMUGuest1</name>
     <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
     <memory unit='KiB'>219100</memory>
-- 
2.23.0




More information about the libvir-list mailing list