Your message dated Wed, 10 May 2017 11:54:32 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-libvirt-maintainers] Bug#862237: virsh dumpxml dumps 
different XML than virsh edit edits
has caused the Debian Bug report #862237,
regarding virsh dumpxml dumps different XML than virsh edit edits
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
862237: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862237
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvirt-clients
Version: 3.0.0-4
Severity: normal

Hi,

this is what virsh dumpxml prints:

[35/5025]mh@fan:~ $ virsh dumpxml jessie_rdp | grep graphics
    <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
    </graphics>
[36/5026]mh@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@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@fan:~ $

Greetings
Marc

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.11.0-zgws1 (SMP w/6 CPU cores)
Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-clients depends on:
ii  libapparmor1        2.11.0-3
ii  libaudit1           1:2.6.7-2
ii  libavahi-client3    0.6.32-2
ii  libavahi-common3    0.6.32-2
ii  libc6               2.24-10
ii  libcap-ng0          0.7.7-3+b1
ii  libdbus-1-3         1.10.18-1
ii  libdevmapper1.02.1  2:1.02.137-2
ii  libgnutls30         3.5.8-5
ii  libnl-3-200         3.2.27-2
ii  libnl-route-3-200   3.2.27-2
ii  libnuma1            2.0.11-2.1
ii  libreadline7        7.0-2
ii  libsasl2-2          2.1.27~101-g0780600+dfsg-3
ii  libselinux1         2.6-3+b1
ii  libssh2-1           1.8.0-1
ii  libvirt0            3.0.0-4
ii  libxen-4.8          4.8.1-1+deb9u1
ii  libxml2             2.9.4+dfsg1-2.2
ii  libyajl2            2.1.0-2+b3

libvirt-clients recommends no packages.

Versions of packages libvirt-clients suggests:
ii  libvirt-daemon  3.0.0-4

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Marc,
On Wed, May 10, 2017 at 09:02:03AM +0200, Marc Haber wrote:
> Package: libvirt-clients
> Version: 3.0.0-4
> Severity: normal
> 
> Hi,
> 
> this is what virsh dumpxml prints:
> 
> [35/5025]mh@fan:~ $ virsh dumpxml jessie_rdp | grep graphics
>     <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
>     </graphics>
> [36/5026]mh@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@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@fan:~ $

This is expected since it dumps the live xml, while edit brings up the
config file. Check the dumpxml options.
Cheers,
 -- Guido

--- End Message ---

Reply via email to