Eduardo Habkost e4ab0d6b0d target-i386: cpu: fix --disable-kvm compilation
This fixes the following:
  target-i386/cpu.o: In function `kvm_cpu_fill_host':
  target-i386/cpu.c:783: undefined reference to `kvm_state'

I didn't notice the problem before because GCC was optimizing the entire
kvm_cpu_fill_host() function out (because all calls are conditional on
kvm_enabled()).

* cpu_x86_fill_model_id() is used only if CONFIG_KVM is set, so #ifdef it
  entirely to avoid compiler warnings.

* kvm_cpu_fill_host() should be called only if KVM is enabled, so
  use #ifdef CONFIG_KVM around the entire function body.

Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2012-11-02 17:55:29 +01:00
2012-10-22 13:26:42 -05:00
2012-10-01 08:04:22 -05:00
2012-08-28 20:38:39 +02:00
2012-11-01 13:10:06 +01:00
2012-10-24 10:26:22 +02:00
2012-08-28 20:38:39 +02:00
2012-10-05 15:10:21 +02:00
2012-11-01 14:00:05 +01:00
2012-09-07 09:02:44 +03:00
2012-10-05 16:07:49 -05:00
2012-11-01 13:10:06 +01:00
2012-10-30 09:30:54 +01:00
2012-10-23 22:39:33 +02:00
2012-10-31 04:12:23 +01:00
2012-10-31 04:12:23 +01:00
2012-10-31 04:12:23 +01:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-09-15 15:34:27 +00:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-31 04:12:23 +01:00
2012-09-22 17:59:12 +00:00
2012-10-23 08:58:25 -05:00
2012-10-24 10:26:20 +02:00
2012-10-24 10:26:20 +02:00
2012-10-23 08:58:25 -05:00
2012-10-29 18:25:22 +02:00
2012-10-31 04:12:23 +01:00
2012-10-05 16:07:49 -05:00
2012-10-23 08:58:25 -05:00
2012-09-19 15:26:31 +02:00
2012-10-30 09:30:54 +01:00
2012-11-01 14:00:04 +01:00
2012-11-01 14:00:04 +01:00
2012-10-31 09:45:47 +01:00
2012-10-29 11:45:54 +01:00
2012-10-06 18:47:04 +02:00
2012-09-28 17:51:47 +02:00
2012-09-28 17:51:47 +02:00
2012-09-05 11:44:53 -05:00
2012-10-23 08:58:25 -05:00
2012-10-03 13:48:45 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%