tcg-ppc: Conditionally reserve TCG_GUEST_BASE_REG.
We need not reserve the register unless we're going to use it.
Signed-off-by: Richard Henderson <rth@twiddle.net>Signed-off-by: malc <av1474@comtv.ru>
kvm: Switch kvm_update_guest_debug to run_on_cpu
Guest debugging under KVM is currently broken once io-threads areenabled. Easily fixable by switching the fake on_vcpu to the realrun_on_cpu implementation.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
fix CPUID vendor override
the meaning of vendor_override is actually the opposite of how itis currently used :-(Fix it to allow KVM to export the non-native CPUID vendor ifexplicitly requested by the user.
The intended behavior is:With TCG: - always inject the configured vendor (either hard-coded, in config...
kvm: Extend kvm_arch_get_supported_cpuid() to support index
Would use it later for XSAVE related CPUID.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Enable XSAVE related CPUID
We can support it in KVM now. The 0xd leaf is queried from KVM.
kvm: Enable XSAVE live migration support
kvm: init mp_state
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Avi Kivity <avi@redhat.com>
kvm: Fix cpu_is_bsp() compilation warning
Signed-off-by: Sheng Yang <sheng@linux.intel.com>Signed-off-by: Avi Kivity <avi@redhat.com>
win32: Add missing function ffs
mingw32 does not include function ffs.
Commit c6d29ad6e24533cc3762e1d654275607e1d03058 added adeclaration for ffs, but an implementation was missing.
For compilations with optimization, the compiler createsinline code, so the implementation is not always needed....
win32: Add define for missing EPROTONOSUPPORT
mingw32 does not define EPROTONOSUPPORT (which is used bymigration.c and maybe future patches), so add adefinition which uses a supported errno value.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View all revisions | View revisions
Also available in: Atom