From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnDNU-0004vX-0X for qemu-devel@nongnu.org; Thu, 22 Sep 2016 19:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnDNO-00058V-G2 for qemu-devel@nongnu.org; Thu, 22 Sep 2016 19:26:03 -0400 Received: from indium.canonical.com ([91.189.90.7]:40398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnDNO-000583-71 for qemu-devel@nongnu.org; Thu, 22 Sep 2016 19:25:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bnDNM-0007Mz-UY for ; Thu, 22 Sep 2016 23:25:56 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 865D52E80C7 for ; Thu, 22 Sep 2016 23:25:56 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Sep 2016 23:19:34 -0000 From: Ryan Harper <1305402@bugs.launchpad.net> Reply-To: Bug 1305402 <1305402@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140410040823.9147.64695.malonedeb@gac.canonical.com> <20160922230521.17794.58957.malone@wampee.canonical.com> Message-Id: Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1305402] Re: libvirt fails to start VirtualMachines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Machine type changes may be related to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1626070 There's a PPA in the bug with a fix for at least the wily machine type. On Thu, Sep 22, 2016 at 6:05 PM, Leo Arias wrote: > This has just happened to me. For some reason, all my machines had > machine=3D'pc-i440fx-wily'. > After an update in yakkety, they stopped working. > > $ qemu-system-x86_64 -enable-kvm -machine help | grep wily > > So I updated the machine xml to a supported machine as Charles > suggested, and they work again. > > Here's the note for my future self about how to do the update: > > $ virsh dumpxml $machine-name > /tmp/machine.xml > Edit the xml. > $ virsh define /tmp/machine.xml > > -- > You received this bug notification because you are subscribed to qemu in > Ubuntu. > https://bugs.launchpad.net/bugs/1305402 > > Title: > libvirt fails to start VirtualMachines > > To manage notifications about this bug go to: > https://bugs.launchpad.net/qemu/+bug/1305402/+subscriptions > -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1305402 Title: libvirt fails to start VirtualMachines Status in QEMU: Invalid Status in libvirt package in Ubuntu: Confirmed Status in qemu package in Ubuntu: Confirmed Bug description: I've created several kvm based machines using virtual machine manager. They have operated well over the last 4 days without issue. I did an apt-get upgrade, and qemu was in the list of updates. After upgrading, I am unable to start any of the provisioned virtual machines with the following error output virsh # start node2 error: Failed to start domain node2 error: internal error: process exited while connecting to monitor: qemu-s= ystem-x86_64: -machine trusty,accel=3Dkvm,usb=3Doff: Unsupported machine ty= pe Use -machine help to list supported machines! virsh # start node3 error: Failed to start domain node3 error: internal error: process exited while connecting to monitor: qemu-s= ystem-x86_64: -machine trusty,accel=3Dkvm,usb=3Doff: Unsupported machine ty= pe Use -machine help to list supported machines! $ dpkg -l | grep kvm ii qemu-kvm 2.0.0~rc1+dfsg-0ubuntu3 = amd64 QEMU Full virtualization on x86 hardware (transitional pac= kage) Log snippet from vm 'media' that was verified working, and fails to start after the upgrade. LC_ALL=3DC PATH=3D/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin= :/bin QEMU_AUDIO_DRV=3Dnone /usr/bin/kvm-spice -name media -S -machine trus= ty,accel=3Dkvm,usb=3Doff -m 1548 -realtime mlock=3Doff -smp 1,sockets=3D1,c= ores=3D1,threads=3D1 -uuid 60b20f7b-6d20-bcb3-f4fc-808a9b2fe0d0 -no-user-co= nfig -nodefaults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/q= emu/media.monitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mod= e=3Dcontrol -rtc base=3Dutc -no-shutdown -boot menu=3Doff,strict=3Don -devi= ce piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 -drive file=3D/var/li= b/libvirt/images/media.img,if=3Dnone,id=3Ddrive-virtio-disk0,format=3Draw -= device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virti= o-disk0,id=3Dvirtio-disk0,bootindex=3D1 -drive file=3D/home/charles/iso/ubu= ntu-desktop-12.04.4-amd64.iso,if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,f= ormat=3Draw -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id= =3Dide0-1-0 -netdev tap,fd=3D24,id=3Dhostnet0,vhost=3Don,vhostfd=3D26 -devi= ce virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:a0:69:d9,bus= =3Dpci.0,addr=3D0x3 -chardev pty,id=3Dcharserial0 -device isa-serial,charde= v=3Dcharserial0,id=3Dserial0 -vnc 127.0.0.1:1 -device cirrus-vga,id=3Dvideo= 0,bus=3Dpci.0,addr=3D0x2 -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci= .0,addr=3D0x5 char device redirected to /dev/pts/13 (label charserial0) qemu: terminating on signal 15 from pid 31688 2014-04-10 03:36:54.593+0000: shutting down 2014-04-10 03:59:25.487+0000: starting up LC_ALL=3DC PATH=3D/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin= :/bin QEMU_AUDIO_DRV=3Dnone /usr/bin/kvm-spice -name media -S -machine trus= ty,accel=3Dkvm,usb=3Doff -m 1548 -realtime mlock=3Doff -smp 1,sockets=3D1,c= ores=3D1,threads=3D1 -uuid 60b20f7b-6d20-bcb3-f4fc-808a9b2fe0d0 -no-user-co= nfig -nodefaults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/q= emu/media.monitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mod= e=3Dcontrol -rtc base=3Dutc -no-shutdown -boot menu=3Doff,strict=3Don -devi= ce piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 -drive file=3D/var/li= b/libvirt/images/media.img,if=3Dnone,id=3Ddrive-virtio-disk0,format=3Draw -= device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virti= o-disk0,id=3Dvirtio-disk0,bootindex=3D1 -drive file=3D/home/charles/iso/ubu= ntu-desktop-12.04.4-amd64.iso,if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don,f= ormat=3Draw -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id= =3Dide0-1-0 -netdev tap,fd=3D24,id=3Dhostnet0,vhost=3Don,vhostfd=3D25 -devi= ce virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:a0:69:d9,bus= =3Dpci.0,addr=3D0x3 -chardev pty,id=3Dcharserial0 -device isa-serial,charde= v=3Dcharserial0,id=3Dserial0 -vnc 127.0.0.1:0 -device cirrus-vga,id=3Dvideo= 0,bus=3Dpci.0,addr=3D0x2 -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci= .0,addr=3D0x5 qemu-system-x86_64: -machine trusty,accel=3Dkvm,usb=3Doff: Unsupported ma= chine type Use -machine help to list supported machines! 2014-04-10 03:59:25.696+0000: shutting down To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1305402/+subscriptions