Eduardo Habkost bd004beff8 target-i386: kvm: Enable all supported KVM features for -cpu host
When using -cpu host, we don't need to use the kvm_default_features
variable, as the user is explicitly asking QEMU to enable all feature
supported by the host.

This changes the kvm_cpu_fill_host() code to use GET_SUPPORTED_CPUID to
initialize the kvm_features field, so we get all host KVM features
enabled.

This will also allow us to properly check/enforce KVM features inside
kvm_check_features_against_host() later. For example, we will be able to
make this:

  $ qemu-system-x86_64 -cpu ...,+kvm_pv_eoi,enforce

refuse to start if kvm_pv_eoi is not supported by the host (after we fix
kvm_check_features_against_host() to check KVM flags as well).

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-01-08 21:03:44 +01:00
2012-12-17 14:01:41 +01:00
2013-01-08 21:03:44 +01:00
2012-12-19 08:29:06 +01:00
2012-12-22 12:06:48 +00:00
2012-10-24 10:26:22 +02:00
2013-01-08 21:03:44 +01:00
2013-01-02 11:23:21 -06: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
…
…
2012-12-20 23:08:47 +01:00
2013-01-02 15:58:09 +01:00
…
2012-12-20 23:09:25 +01:00
…
2013-01-03 12:53:41 -06:00
…
…
2013-01-02 13:32:48 -06:00
…
2013-01-08 10:56:58 +01:00
2012-12-03 14:08:40 -06:00
2012-12-22 12:04:44 +00:00

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

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
722 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%