]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: add a domain ID to live status XML doc
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 11 Dec 2019 11:53:43 +0000 (11:53 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 12 Dec 2019 16:30:02 +0000 (16:30 +0000)
The status XML represents a running VM, so we should always have an
ID present for the domain.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qemustatusxml2xmldata/vcpus-multi-in.xml

index 11ec74ecf8822d1c2b6630d9b788a30bcc73037e..be48c55fe0b2389f1daa58a9d054eb18acda8690 100644 (file)
   <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>