Comment 12 for bug 1305191

Waldek (rifster) wrote :

Hi All,
I have similar issue to Kent's. Not much is on Google and I did all according to your posts and VMM still does not want to add a VM machine. I'm a linux newbie and there is definitely something I have missed. Please help. Thanks!

Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-system-x86_64: -machine pc-i440fx-2.1,accel=kvm,usb=off: Unsupported machine type
Use -machine help to list supported machines!
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1983, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1246, in start_install
    noboot)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1314, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3202, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: qemu-system-x86_64: -machine pc-i440fx-2.1,accel=kvm,usb=off: Unsupported machine type
Use -machine help to list supported machines!

========================================================================

Below is some output from my PC:

========================================================================
wwozniak@wwozniak-PC:~$ dpkg -l | egrep "(qemu|libvirt)"
ii ipxe-qemu 1.0.0+git-20131111.c3d1e78-2ubuntu1 all PXE boot firmware - ROM images for qemu
ii libvirt-bin 1.2.2-0ubuntu13.1.5 amd64 programs for the libvirt library
ii libvirt0 1.2.2-0ubuntu13.1.5 amd64 library for interfacing with different virtualization systems
ii python-libvirt 1.2.2-0ubuntu2 amd64 libvirt Python bindings
ii qemu-common 2.0.0+dfsg-2ubuntu1.5 all dummy transitional package from qemu-common to qemu-keymaps
ii qemu-keymaps 2.0.0+dfsg-2ubuntu1.5 all QEMU keyboard maps
ii qemu-kvm 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU Full virtualization on x86 hardware (transitional package)
ii qemu-system 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries
ii qemu-system-arm 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (arm)
ii qemu-system-common 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-mips 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (mips)
ii qemu-system-misc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (miscelaneous)
ii qemu-system-ppc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (ppc)
ii qemu-system-sparc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (sparc)
ii qemu-system-x86 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (x86)
ii qemu-utils 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU utilities

wwozniak@wwozniak-PC:~$ apt-cache policy virt-manager
virt-manager:
  Installed: 0.9.5-1ubuntu3
  Candidate: 0.9.5-1ubuntu3
  Version table:
 *** 0.9.5-1ubuntu3 0
        500 http://pl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
wwozniak@wwozniak-PC:~$

wwozniak@wwozniak-PC:~$ python --version
Python 2.7.6

wwozniak@wwozniak-PC:~$ uname -a
Linux wwozniak-PC 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

wwozniak@wwozniak-PC:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

wwozniak@wwozniak-PC:~$ virsh --version
1.2.2

wwozniak@wwozniak-PC:~$ qemu-system-x86_64 --version
QEMU emulator version 2.1.2, Copyright (c) 2003-2008 Fabrice Bellard

wwozniak@wwozniak-PC:~$ grep 'model name' /proc/cpuinfo
model name : AMD Phenom(tm) II X4 955 Processor
model name : AMD Phenom(tm) II X4 955 Processor
model name : AMD Phenom(tm) II X4 955 Processor
model name : AMD Phenom(tm) II X4 955 Processor

wwozniak@wwozniak-PC:~$ qemu-system-x86_64 -machine help
Supported machines are:
pc-0.13 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996)
pc-1.0 Standard PC (i440FX + PIIX, 1996)
pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.1)
pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996) (default)
pc-q35-1.7 Standard PC (Q35 + ICH9, 2009)
pc-1.1 Standard PC (i440FX + PIIX, 1996)
pc-0.14 Standard PC (i440FX + PIIX, 1996)
pc-q35-2.0 Standard PC (Q35 + ICH9, 2009)
pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996)
pc-0.15 Standard PC (i440FX + PIIX, 1996)
pc-q35-1.4 Standard PC (Q35 + ICH9, 2009)
isapc ISA-only PC
pc-1.2 Standard PC (i440FX + PIIX, 1996)
pc-0.10 Standard PC (i440FX + PIIX, 1996)
pc-0.11 Standard PC (i440FX + PIIX, 1996)
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.1)
pc-q35-2.1 Standard PC (Q35 + ICH9, 2009)
pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996)
none empty machine
pc-q35-1.5 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.6 Standard PC (Q35 + ICH9, 2009)
pc-0.12 Standard PC (i440FX + PIIX, 1996)
pc-1.3 Standard PC (i440FX + PIIX, 1996)