diff options
| author | Eduardo Habkost <ehabkost@redhat.com> | 2014-01-30 17:48:53 -0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-02-03 17:33:55 +0100 |
| commit | c1f412260b4e0f309dba8da99482fb32d6098719 (patch) | |
| tree | c49ef90b1b4ddb11b901f8edd352d7708d6bf719 /scripts/qapi-visit.py | |
| parent | 48a5f3bcbbbe59a3120a39106bfda59fd1933fbc (diff) | |
| download | focaccia-qemu-c1f412260b4e0f309dba8da99482fb32d6098719.tar.gz focaccia-qemu-c1f412260b4e0f309dba8da99482fb32d6098719.zip | |
target-i386: Eliminate CONFIG_KVM #ifdefs
The compiler is already able to eliminate the kvm_arch_get_supported_cpuid() calls in kvm_cpu_fill_host() and filter_features_for_kvm(), so we can eliminate the CONFIG_KVM #ifdefs there. Also, kvm_cpu_fill_host() and host_cpuid() don't need to check CONFIG_KVM, as they don't have any KVM-specific function calls. Tested to build successfully with CONFIG_KVM disabled, using the following CFLAGS combinations: "-DNDEBUG", "-DNDEBUG -O', "-DNDEBUG -O0", "-DNDEBUG -O1", "-DNDEBUG -O2". Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions