]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/cpu.h
target-i386: Introduce x86_cpu_compat_disable_kvm_features()
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 19 Feb 2014 14:58:11 +0000 (11:58 -0300)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 18:01:49 +0000 (19:01 +0100)
commit8fb4f821e93a75431973bf3a11bacd924e43816c
tree7a61acb696993890c50bab707a985805d9c462a6
parent5fcca9ff3b7bd6567bc1a9488f2481f163de46ba
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>
hw/i386/pc_piix.c
target-i386/cpu.c
target-i386/cpu.h