[Pkg-libvirt-maintainers] Bug#623956: Invokes wrong qemu command for foreign architecture

Ben Hutchings ben at decadent.org.uk
Sun Apr 24 19:20:01 UTC 2011


Package: libvirt-bin
Version: 0.9.0-1
Severity: important

libvirt invokes 'kvm' even for virtualisation type 'qemu'.  In
virt-manager, creating an emulated ARM system fails with the error
messages:

Unable to complete install: 'internal error Process exited while reading console log output: Supported machines are:
pc         Standard PC (alias of pc-0.14)
pc-0.14    Standard PC (default)
pc-0.13    Standard PC
pc-0.12    Standard PC
pc-0.11    Standard PC, qemu 0.11
pc-0.10    Standard PC, qemu 0.10
isapc      ISA-only PC
'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1643, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1186, in start_install
    start_xml, final_xml, is_initial)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1245, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1446, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: Supported machines are:
pc         Standard PC (alias of pc-0.14)
pc-0.14    Standard PC (default)
pc-0.13    Standard PC
pc-0.12    Standard PC
pc-0.11    Standard PC, qemu 0.11
pc-0.10    Standard PC, qemu 0.10
isapc      ISA-only PC

The correct command would be qemu-system-arm, or in general
qemu-system-<linux-arch>.

Ben.

-- System Information:
Debian Release: wheezy/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'oldstable-proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.30-2        Avahi client library
ii  libavahi-common3         0.6.30-2        Avahi common library
ii  libblkid1                2.17.2-9.1      block device id library
ii  libc6                    2.11.2-11       Embedded GNU C Library: Shared lib
ii  libcap-ng0               0.6.5-1         An alternate POSIX capabilities li
ii  libdevmapper1.02.1       2:1.02.63-3     The Linux Kernel Device Mapper use
ii  libgcrypt11              1.4.6-5         LGPL Crypto library - runtime libr
ii  libgnutls26              2.10.5-1+b1     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.1-1        Generic PCI access library for X
ii  libreadline6             6.2-1           GNU readline and history libraries
ii  libsasl2-2               2.1.23.dfsg1-8  Cyrus SASL - authentication abstra
ii  libudev0                 167-3           libudev shared library
ii  libuuid1                 2.17.2-9.1      Universally Unique ID library
ii  libvirt0                 0.9.0-1         library for interfacing with diffe
ii  libxenstore3.0           4.1.0-2         Xenstore communications library fo
ii  libxml2                  2.7.8.dfsg-2+b1 GNOME XML library
ii  logrotate                3.7.8-6         Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils           1.5-1             Utilities for configuring the Linu
ii  dmidecode              2.9-1.2           Dump Desktop Management Interface 
ii  dnsmasq-base           2.57-1            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  iptables               1.4.10-1          administration tools for packet fi
ii  libxml2-utils          2.7.8.dfsg-2+b1   XML utilities
ii  netcat-openbsd         1.89-4            TCP/IP swiss army knife
ii  qemu                   0.14.0+dfsg-5     fast processor emulator
ii  qemu-kvm               0.14.0+dfsg-1~tls Full virtualization on x86 hardwar

Versions of packages libvirt-bin suggests:
ii  policykit-1                   0.101-4    framework for managing administrat

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list