kvm - Cannot open virtual machine after upgrading to 16.10 - Ask Ubuntu


i've upgraded 16.10 (from 16.04) , kvm virtual machines not able start more. i'm getting error:

error starting domain: internal error: process exited while connecting monitor: 2016-10-27t14:47:58.353049z qemu-system-x86_64: -enable-kvm: unsupported machine type use -machine list supported machines  traceback (most recent call last):   file "/usr/share/virt-manager/virtmanager/asyncjob.py", line 90, in cb_wrapper     callback(asyncjob, *args, **kwargs)   file "/usr/share/virt-manager/virtmanager/asyncjob.py", line 126, in tmpcb     callback(*args, **kwargs)   file "/usr/share/virt-manager/virtmanager/libvirtobject.py", line 83, in newfn     ret = fn(self, *args, **kwargs)   file "/usr/share/virt-manager/virtmanager/domain.py", line 1402, in startup     self._backend.create()   file "/usr/lib/python2.7/dist-packages/libvirt.py", line 1035, in create     if ret == -1: raise libvirterror ('virdomaincreate() failed', dom=self) libvirterror: internal error: process exited while connecting monitor: 2016-10-27t14:47:58.353049z qemu-system-x86_64: -enable-kvm: unsupported machine type use -machine list supported machines 

this worked me. running ...

virsh edit your-virtual-machine-name 

which ask editor use, , show generated xml virtual machine. section ...

<os>   <type arch='x86_64' machine='pc-i440fx-vivid'>hvm</type>   <bootmenu enable='no'/> </os> 

can changed ...

<os>   <type arch='x86_64' machine='ubuntu'>hvm</type>   <bootmenu enable='no'/> </os> 

based on looking @ machine ...

$ kvm-spice -machine supported machines are: ubuntu               ubuntu 16.10 pc (i440fx + piix, 1996) (alias of pc-i440fx-yakkety) pc-i440fx-yakkety    ubuntu 16.10 pc (i440fx + piix, 1996) (default) pc-i440fx-xenial     ubuntu 16.04 pc (i440fx + piix, 1996) pc-i440fx-wily       ubuntu 15.04 pc (i440fx + piix, 1996) pc-i440fx-trusty     ubuntu 14.04 pc (i440fx + piix, 1996) . . . 

it looks pc-i440fx-vivid either no longer supported or left out (possibly because has reached end-of-life).


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User