[libvirt-users] Installing QEMU from source causing error

Andrea Bolognani abologna at redhat.com
Mon Jul 22 08:53:46 UTC 2019


On Sat, 2019-07-20 at 20:45 -0500, Probir Roy wrote:
> I also ran "virsh capabilities". It looks like the machine "pc-i440fx-4.0" is available there. Does it mean anything to this case? I am guessing "4.0" means Qemu version, which is the version I am trying to install from source.
> 
> https://gist.github.com/proywm/433de1f410c5e7d68cff5833e03fb5dc

It's true that the pc-i440fx-4.0 machine type exists, but it's in
the /usr/bin/kvm-spice binary while...

[...]
> > > > I am trying to run Qemu-4.0 installed from source code.
> > > > 
> > > > When I run virt-manager to create a VM, I get the following error:
> > > > 
> > > > ```
> > > > Unable to complete install: 'internal error: process exited while
> > > > connecting to monitor: 2019-07-19T17:06:35.954242Z qemu-system-x86_64:
> > > > -enable-kvm: unsupported machine type
> > > > Use -machine help to list supported machines'

... from the error message it looks like you're using the
/usr/bin/qemu-system-x86_64 binary instead, which does *not* contain
that machine type.

Since the newest machine type for that binary is versioned with 3.0,
are you sure you've compiled and installed QEMU 4.0?

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvirt-users mailing list