Eduardo Habkost aa87d45855 target-i386: Don't set any KVM flag by default if KVM is disabled
This is a cleanup that tries to solve two small issues:

 - We don't need a separate kvm_pv_eoi_features variable just to keep a
   constant calculated at compile-time, and this style would require
   adding a separate variable (that's declared twice because of the
   CONFIG_KVM ifdef) for each feature that's going to be
   enabled/disabled by machine-type compat code.
 - The pc-1.3 code is setting the kvm_pv_eoi flag on cpuid_kvm_features
   even when KVM is disabled at runtime. This small inconsistency in
   the cpuid_kvm_features field isn't a problem today because
   cpuid_kvm_features is ignored by the TCG code, but it may cause
   unexpected problems later when refactoring the CPUID handling code.

This patch eliminates the kvm_pv_eoi_features variable and simply uses
kvm_enabled() inside the enable_kvm_pv_eoi() compat function, so it
enables kvm_pv_eoi only if KVM is enabled. I believe this makes the
behavior of enable_kvm_pv_eoi() clearer and easier to understand.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-01-27 14:34:26 +01:00
2013-01-10 15:11:53 -06:00
2013-01-24 15:37:55 +01:00
2013-01-26 13:15:35 +00:00
2013-01-26 13:15:37 +00:00
2012-12-19 08:29:06 +01:00
2013-01-18 19:06:57 +01:00
2013-01-21 09:17:16 +01:00
2012-10-24 10:26:22 +02:00
2013-01-26 13:15:35 +00:00
2013-01-21 09:17:16 +01:00
2013-01-12 12:26:16 +00:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2012-05-14 07:27:24 +02:00
2008-10-12 17:54:42 +00:00
2013-01-15 04:09:13 +01:00
2012-12-20 23:08:47 +01:00
2013-01-17 10:24:52 -02:00
2013-01-17 10:24:52 -02:00
2011-12-09 11:25:22 +00:00
2013-01-25 22:02:53 +01:00
2013-01-26 13:15:37 +00:00
2013-01-26 13:15:35 +00:00
2012-12-20 23:09:25 +01:00
2013-01-17 10:24:52 -02:00
2011-12-11 17:50:43 -06:00
2010-03-14 22:04:50 +01:00
2008-12-04 11:29:42 +00:00
2012-12-03 14:08:40 -06:00
2013-01-15 04:09:14 +01:00

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

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%