Unable to start VM in gnome-boxes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-boxes (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
1) Ubuntu Release Information
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
2) Package Information
gnome-boxes:
Installed: 3.27.92-1
Candidate: 3.27.92-1
Version table:
*** 3.27.92-1 500
500 http://
100 /var/lib/
3) What I expect to happen:
VMs launch successfully within gnome-boxes.
4) What happens instead.
Since upgrading to Ubuntu 18.04, I have not be able to start any VMs. Running gnome-boxes from the terminal shows the following error:
(gnome-boxes:7430): Boxes-WARNING **: 10:31:57.204: machine.vala:620: Failed to start bionic-
Please also find attached the troubleshooting log directly from Boxes.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-boxes 3.27.92-1
ProcVersionSign
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu-
Date: Thu Mar 29 10:35:07 2018
InstallationDate: Installed on 2017-10-24 (155 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: gnome-boxes
UpgradeStatus: Upgraded to bionic on 2018-03-21 (8 days ago)
Matthew Ames (supermatt) wrote : | #1 |
Matthew Ames (supermatt) wrote : | #2 |
Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in gnome-boxes (Ubuntu): | |
status: | New → Confirmed |
Scott M (sgmaurin) wrote : | #4 |
Yes, the same thing has been happening to me since the Bionic upgrade:
Terminal warning is the same:
(gnome-boxes:2678): Boxes-WARNING **: 00:48:02.973: machine.vala:629: Failed to start Win10 Home: Unable to start domain: unsupported configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor
(gnome-boxes:2678): Boxes-WARNING **: 00:48:34.093: machine.vala:629: Failed to start Fedora 27: Unable to start domain: unsupported configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor
Virt-manager gives me this:
Error starting domain: unsupported configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
callback(*args, **kwargs)
File "/usr/share/
ret = fn(self, *args, **kwargs)
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unsupported configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor
All working fine before upgrade.
Scott M (sgmaurin) wrote : | #5 |
Matthew, just to verify, did you have to log out and log in for that to work?
I added myself to the kvm group but still get the same error.
Have a couple of tasks running and I can't reboot just yet.
Matthew Ames (supermatt) wrote : | #6 |
This may come a little later than you would have liked, but you can use the command "newgrp kvm" from a terminal window, and then launch gnome-boxes from that self-same terminal window.
Scott M (sgmaurin) wrote : | #7 |
After adding myself to the kvm group, then rebooting, I can confirm that Gnome Boxes is working for me now.
Update: adding myself to the kvm group fixes this issue.