qemu-e2k/target
Vitaly Kuznetsov 5ce48fa354 i386: kill off hv_cpuid_check_and_set()
hv_cpuid_check_and_set() does too much:
- Checks if the feature is supported by KVM;
- Checks if all dependencies are enabled;
- Sets the feature bit in cpu->hyperv_features for 'passthrough' mode.

To reduce the complexity, move all the logic except for dependencies
check out of it. Also, in 'passthrough' mode we don't really need to
check dependencies because KVM is supposed to provide a consistent
set anyway.

Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210608120817.1325125-7-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2021-07-13 09:13:29 -04:00
..
alpha Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
arm Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
avr Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
cris Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
hexagon Hexagon (target/hexagon) remove unused TCG variables 2021-06-29 11:32:50 -05:00
hppa Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
i386 i386: kill off hv_cpuid_check_and_set() 2021-07-13 09:13:29 -04:00
m68k Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
microblaze Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
mips MIPS patches queue 2021-07-12 15:58:17 +01:00
nios2 Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
openrisc Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
ppc Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
riscv Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
rx Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
s390x s390x updates: 2021-07-12 19:15:11 +01:00
sh4 Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
sparc Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
tricore Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
xtensa Add translator_use_goto_tb. 2021-07-12 11:02:39 +01:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build Drop the deprecated unicore32 target 2021-05-12 18:20:52 +02:00