mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
target-i386: Introduce x86_cpu_compat_disable_kvm_features()
Instead of the feature-specific disable_kvm_pv_eoi() function, create a more general function that can be used to disable other feature bits in machine-type compat code. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
5fcca9ff3b
commit
8fb4f821e9
3 changed files with 7 additions and 7 deletions
|
@ -1262,11 +1262,11 @@ void do_smm_enter(X86CPU *cpu);
|
|||
|
||||
void cpu_report_tpr_access(CPUX86State *env, TPRAccess access);
|
||||
|
||||
void disable_kvm_pv_eoi(void);
|
||||
|
||||
void x86_cpu_compat_set_features(const char *cpu_model, FeatureWord w,
|
||||
uint32_t feat_add, uint32_t feat_remove);
|
||||
|
||||
void x86_cpu_compat_disable_kvm_features(FeatureWord w, uint32_t features);
|
||||
|
||||
|
||||
/* Return name of 32-bit register, from a R_* constant */
|
||||
const char *get_register_name_32(unsigned int reg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue