Re: [Qemu-devel] [PATCH 1/7] target-i386: Eliminate CONFIG_KVM #ifdefs

2013-12-09 Thread Paolo Bonzini
Il 27/11/2013 20:34, Eduardo Habkost ha scritto: The compiler is capable of eliminating the KVM-specific function calls as long as the calling function has an assert(kvm_enabled()) line, so we don't need to wrap all KVM-specific inside #ifdefs. Signed-off-by: Eduardo Habkost

[Qemu-devel] [PATCH 1/7] target-i386: Eliminate CONFIG_KVM #ifdefs

2013-11-27 Thread Eduardo Habkost
The compiler is capable of eliminating the KVM-specific function calls as long as the calling function has an assert(kvm_enabled()) line, so we don't need to wrap all KVM-specific inside #ifdefs. Signed-off-by: Eduardo Habkost ehabk...@redhat.com --- target-i386/cpu.c | 13 ++--- 1 file