[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enab
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled |
Date: |
Mon, 30 Jul 2018 14:30:10 +0100 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Mon, Jul 30, 2018 at 02:23:50PM +0100, Peter Maydell wrote:
> The tests in tests/vm/ seem to make some attempt to cope with the
> host system not allowing the user to use KVM, but it doesn't quite
> work. The problem is that tests/vm/basevm.py always uses "-cpu host"
> in the QEMU options it uses to run the VM, and that only works if
> KVM is enabled. If the user can't run KVM then we correctly avoid
> passing it "-enable-kvm" but then QEMU doesn't run because "-cpu host"
> isn't supported...
>
> I guess the right fix here is to use "-cpu max" ?
Yes, sounds like exactly the kind of scenario that 'max' was intended
to support.
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 :|