[Pkg-libvirt-maintainers] Bug#650696: Virsh can't convert native xen-xm format file to XML
Tony Colin
tonyneutrino at gmail.com
Fri Dec 2 01:38:17 UTC 2011
Package: libvirt-bin
Version: 0.9.2-7~bpo60+1
File: /usr/bin/virsh
Severity: normal
Hello everyone,
I have been trying to convert a normal config.cfg file to python format
using the libvirt packages
provided by Debian Squeeze repositories, but it exits given the following
error:
# virsh -c xen:/// domxml-from-native xen-xm winxp.cfg > config.xml
error: An error occurred, but the cause is unknown
Yet, I tested it with libvirt versions 0.8.3 and 0.9.2 (most recent in
Debian Squeeze for AMD64).
For reference, I attatch my config.cfg file but indeed there are no last
entries giving information about
the error neither in /var/log/messages nor in /var/log/libvirt/libvirtd.log.
Virsh information is described as follows:
Compiled against library: libvir 0.9.2
Using library: libvir 0.9.2
Using API: Xen 3.0.1
Running hypervisor: Xen 4.1.0
I have solved the issue of converting to XML by doing:
# xm new winxp.cfg
and
# virsh dumpxml winxp
But I keep trying to find the solution for virsh and suggest that this
problem be corrected.
Thanks a lot.
Anthony.
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvirt-bin depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii gettext-base 0.18.1.1-3 GNU Internationalization
utilities
ii libavahi-client3 0.6.27-2+squeeze1 Avahi client library
ii libavahi-common3 0.6.27-2+squeeze1 Avahi common library
ii libblkid1 2.17.2-9 block device id library
ii libc6 2.11.2-10 Embedded GNU C Library: Shared
lib
ii libcap-ng0 0.6.4-1 An alternate posix
capabilities li
ii libdevmapper1.02.1 2:1.02.48-5 The Linux Kernel Device Mapper
use
ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime
libr
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime
libr
ii libnl1 1.1-6 library for dealing with
netlink s
ii libparted0debian1 2.3-5 The GNU Parted disk
partitioning s
ii libpciaccess0 0.12.0-1 Generic PCI access library for
X
ii libreadline6 6.1-3 GNU readline and history
libraries
ii libsasl2-2 2.1.23.dfsg1-7 Cyrus SASL - authentication
abstra
ii libudev0 164-3 libudev shared library
ii libuuid1 2.17.2-9 Universally Unique ID library
ii libvirt0 0.9.2-7~bpo60+1 library for interfacing with
diffe
ii libxenstore3.0 4.0.1-4 Xenstore communications
library fo
ii libxml2 2.7.8.dfsg-2+squeeze1 GNOME XML library
ii logrotate 3.7.8-6 Log rotation utility
Versions of packages libvirt-bin recommends:
ii bridge-utils 1.4-5 Utilities for configuring the
Linu
ii dmidecode 2.9-1.2 Dump Desktop Management
Interface
ii dnsmasq-base 2.55-2 A small caching DNS proxy and
DHCP
ii ebtables 2.0.9.2-2 Ethernet bridge frame table
admini
ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning
and pr
ii iproute 20100519-3 networking and traffic control
too
ii iptables 1.4.8-3 administration tools for
packet fi
ii libxml2-utils 2.7.8.dfsg-2+squeeze1 XML utilities
ii netcat-openbsd 1.89-4 TCP/IP swiss army knife
pn qemu-kvm | qemu <none> (no description available)
Versions of packages libvirt-bin suggests:
pn policykit-1 <none> (no description available)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20111201/fe037e6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winxp.cfg
Type: application/octet-stream
Size: 338 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20111201/fe037e6b/attachment.obj>
More information about the Pkg-libvirt-maintainers
mailing list