Re: [PATCH] 2/2: Fall back to plain Qemu if KVM is not present, report errors from libkvm

Avi Kivity
2006-11-14T13:24:35Z

Simon Kagstrom wrote:
> diff -u ../orig/kvm-2/qemu/vl.c qemu/vl.c
> --- ../orig/kvm-2/qemu/vl.c 2006-11-05 10:18:52.000000000 +0100
> +++ qemu/vl.c 2006-11-14 13:56:32.000000000 +0100
> @@ -5706,6 +5706,10 @@
>
> nb_nics = 0;
> /* default mac address of the first network interface */
> +#if USE_KVM
> + if (kvm_qemu_init() < 0)
> + kvm_allowed = 0;
> +#endif
>

Doesn't this bit will initialize kvm even if the user specified -no-kvm?

--
error compiling committee.c: too many arguments to function