mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu: stop formatting json='1' in status XML
For quite some time now it is impossible to connect to a domain using a HMP monitor, so there is no point in formatting it in the status XML. Signed-off-by: Ján Tomko <jtomko@redhat.com> Acked-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
ec9f1cd569
commit
173a191cfe
@ -2474,7 +2474,6 @@ qemuDomainObjPrivateXMLFormat(virBufferPtr buf,
|
||||
}
|
||||
|
||||
virBufferEscapeString(buf, "<monitor path='%s'", monitorpath);
|
||||
virBufferAddLit(buf, " json='1'");
|
||||
virBufferAsprintf(buf, " type='%s'/>\n",
|
||||
virDomainChrTypeToString(priv->monConfig->type));
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<domstatus state='running' reason='booted' pid='3803518'>
|
||||
<taint flag='high-privileges'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/test.monitor' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/test.monitor' type='unix'/>
|
||||
<vcpus>
|
||||
<vcpu id='0' pid='3803519'/>
|
||||
</vcpus>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<domstatus state='running' reason='booted' pid='195139'>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-1-upstream/monitor.sock' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-1-upstream/monitor.sock' type='unix'/>
|
||||
<namespaces>
|
||||
<mount/>
|
||||
</namespaces>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<domstatus state='paused' reason='migration' pid='2296'>
|
||||
<taint flag='high-privileges'/>
|
||||
<taint flag='host-cpu'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-1-nest/monitor.sock' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-1-nest/monitor.sock' type='unix'/>
|
||||
<namespaces>
|
||||
<mount/>
|
||||
</namespaces>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<domstatus state='running' reason='booted' pid='15433'>
|
||||
<taint flag='high-privileges'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-4-upstream/monitor.sock' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-4-upstream/monitor.sock' type='unix'/>
|
||||
<vcpus>
|
||||
<vcpu id='0' pid='15449'/>
|
||||
<vcpu id='1' pid='15450'/>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<domstatus state='running' reason='booted' pid='68472'>
|
||||
<taint flag='high-privileges'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-3-upstream/monitor.sock' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-3-upstream/monitor.sock' type='unix'/>
|
||||
<namespaces>
|
||||
<mount/>
|
||||
</namespaces>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<domstatus state='paused' reason='migration' pid='21586'>
|
||||
<taint flag='high-privileges'/>
|
||||
<taint flag='host-cpu'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-7-nest/monitor.sock' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-7-nest/monitor.sock' type='unix'/>
|
||||
<namespaces>
|
||||
<mount/>
|
||||
</namespaces>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<domstatus state='running' reason='booted' pid='195139'>
|
||||
<taint flag='high-privileges'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-1-upstream/monitor.sock' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/domain-1-upstream/monitor.sock' type='unix'/>
|
||||
<namespaces>
|
||||
<mount/>
|
||||
</namespaces>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<domstatus state='running' reason='booted' pid='3803518'>
|
||||
<taint flag='high-privileges'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/test.monitor' json='1' type='unix'/>
|
||||
<monitor path='/var/lib/libvirt/qemu/test.monitor' type='unix'/>
|
||||
<vcpus>
|
||||
<vcpu id='0' pid='3803519'/>
|
||||
<vcpu id='1' pid='3803520'/>
|
||||
|
Loading…
Reference in New Issue
Block a user