Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-08-02 Thread Peter Maydell
On 2 August 2018 at 20:13, Philippe Mathieu-Daudé wrote: > Hi Peter, > > On 07/30/2018 10:23 AM, 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/bas

Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-08-02 Thread Philippe Mathieu-Daudé
Hi Peter, On 07/30/2018 10:23 AM, 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 ru

Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-08-01 Thread Fam Zheng
On Mon, 07/30 16:20, Peter Maydell wrote: > On 30 July 2018 at 14:40, Peter Maydell wrote: > > On 30 July 2018 at 14:36, Peter Maydell wrote: > >> On 30 July 2018 at 14:23, Peter Maydell wrote: > >>> The tests in tests/vm/ seem to make some attempt to cope with the > >>> host system not allowing

Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-07-30 Thread Peter Maydell
On 30 July 2018 at 14:40, Peter Maydell wrote: > On 30 July 2018 at 14:36, Peter Maydell wrote: >> On 30 July 2018 at 14:23, 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.

Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-07-30 Thread Peter Maydell
On 30 July 2018 at 14:36, Peter Maydell wrote: > On 30 July 2018 at 14:23, 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. > > Also, passing V=1 to the outer make command like:

Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-07-30 Thread Peter Maydell
On 30 July 2018 at 14:23, 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. Also, passing V=1 to the outer make command like: make vm-build-freebsd J=16 V=1 isn't propagated throug

Re: [Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-07-30 Thread Daniel P . Berrangé
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 use

[Qemu-devel] 'make vm-build-freebsd' &c don't work if KVM isn't enabled

2018-07-30 Thread Peter Maydell
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