[Pkg-libvirt-maintainers] Bug#862237: virsh dumpxml dumps different XML than virsh edit edits

Marc Haber mh+debian-bugs at zugschlus.de
Wed May 10 07:44:02 UTC 2017


On Wed, May 10, 2017 at 09:02:03AM +0200, Marc Haber wrote:
> this is what virsh dumpxml prints:
> 
> [35/5025]mh at fan:~ $ virsh dumpxml jessie_rdp | grep graphics
>     <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
>     </graphics>
> [36/5026]mh at fan:~ $ 
> 
> and this is what virsh edit brings into the editor (excerpt):
> 
>     <graphics type='spice' autoport='yes'>
>       <listen type='address'/>
>     </graphics>
> 
> /etc/libvirt/qemu/jessie_rdp.xml seems to match the edited file, and the
> dumped file differs rather heavily:
> 
> [47/5037]mh at fan:~ $ sudo diff -u jessie_rdp.dumpxml /etc/libvirt/qemu/jessie_rdp.xml  | diffstat
>  jessie_rdp.xml |   70 ++++++++++++++-------------------------------------------
>   1 file changed, 18 insertions(+), 52 deletions(-)
> [48/5038]mh at fan:~ $

It looks like this may be normal behavior for a running domain. If
that's indeed the case, either consider this a usability issue and
improve the docs, or close the bug report (with is OK for me).

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



More information about the Pkg-libvirt-maintainers mailing list