qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] [libvirt-users] Installing QEMU from source causing e


From: Daniel P . Berrangé
Subject: Re: [Qemu-discuss] [libvirt-users] Installing QEMU from source causing error
Date: Fri, 19 Jul 2019 18:36:05 +0100
User-agent: Mutt/1.12.0 (2019-05-25)

On Fri, Jul 19, 2019 at 12:16:25PM -0500, Probir Roy wrote:
> Hi,
> 
> 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'

You don't mention what your OS is ?  Some OS vendors patch QEMU
to have different machine types than upstream QEMU provides, and
I guess that's what you've hit.

If you look in your libvirt XML 'virsh dumpxml $GUESTNAME' you'll
see a machine type listed - probably "pc-$SOMETHING" or "q35-$SOMETHING".

If you simply delete the "-$SOMETHING" part to leave just "pc" or
just "q35", then libvirt will expand the machine type into the
latest one available with your self-built QEMU

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]