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>
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>
.gitignore: Ignore libdis*, qemu-options.def
libdis, libdis-user and qemu-options.def are generateddirectories / files and should be ignored by git.
x86: Clean up CPU reset
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
x86: Fix INIT processing
This fixes a regression of 0e26b7b892: Reset halted also on INIT.
mask all interrupts when MASTER_DISABLE is set
The MASTER_DISABLE bit (aka mask-all) masks all the interrupts.
According to Sun-4M System Architecture"The level–15 interrupt sources [...] are maskable with the Interrupt TargetMask Register. While these interrupts are considered ’non–maskable’ within...
fw_cfg: convert to qdev
Convert fw_cfg to qdev.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View all revisions | View revisions
Also available in: Atom