Re: [Qemu-devel] [PATCH v2 08/17] accel: Move KVM accel registration to kvm-all.c

2014-09-26 Thread Paolo Bonzini
Il 29/08/2014 22:31, Eduardo Habkost ha scritto: > Note that this has an user-visible side-effect: instead of reporting > "KVM is not supported for this target", QEMU binaries not supporting KVM > will report "kvm accelerator does not exist". "does not exist" perhaps is a bit too strong. Perhaps

Re: [Qemu-devel] [PATCH v2 08/17] accel: Move KVM accel registration to kvm-all.c

2014-09-26 Thread Paolo Bonzini
Il 29/08/2014 22:31, Eduardo Habkost ha scritto: > Note that this has an user-visible side-effect: instead of reporting > "KVM is not supported for this target", QEMU binaries not supporting KVM > will report "kvm accelerator does not exist". > > As kvm_availble() always return 1 when CONFIG_KVM i

[Qemu-devel] [PATCH v2 08/17] accel: Move KVM accel registration to kvm-all.c

2014-08-29 Thread Eduardo Habkost
Note that this has an user-visible side-effect: instead of reporting "KVM is not supported for this target", QEMU binaries not supporting KVM will report "kvm accelerator does not exist". As kvm_availble() always return 1 when CONFIG_KVM is enabled, we don't need to set AccelClass.available anymor