KVM changes (+ misc small fixes) for 2.1
The following changes since commit 9d9de254c2b81b68cd48f2324cc753a570a4cdd8:
MAINTAINERS: seccomp: change email contact for Eduardo Otubo (2014-07-03 12:36:15 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
for you to fetch changes up to dbb832225a40fdc4f518466a6e34817ee6e59988:
qtest: fix vhost-user-test compilation with old GLib (2014-07-09 18:17:08 +0200)
----------------------------------------------------------------
Eduardo Habkost (1):
target-i386: Add "kvmclock-stable-bit" feature bit name
James Hogan (4):
mips/kvm: Init EBase to correct KSEG0 mips/kvm: Disable FPU on reset with KVM
mips_malta: Remove incorrect KVM T&E references
mips_malta: Catch kernels linked at wrong address
Miroslav Rezanina (1):
Enforce stack protector usage
Nikolay Nikolaev (1):
qtest: fix vhost-user-test compilation with old GLib
Paolo Bonzini (2):
watchdog: fix deadlock with -watchdog-action pause
mc146818rtc: register the clock reset notifier on the right clock
Stefan Weil (1):
oslib-posix: Fix new compiler error with -Wclobbered
configure | 7 +++++++ hw/mips/mips_malta.c | 20 +++++++++++++++++--- hw/timer/mc146818rtc.c | 2 +- hw/watchdog/watchdog.c | 6 +++++- target-i386/cpu.c | 2 +- target-mips/kvm.c | 7 +++++++ target-mips/translate.c | 8 +++++++- tests/vhost-user-test.c | 4 ++++ util/oslib-posix.c | 30 ++++++++++++++++-------------- 9 files changed, 65 insertions(+), 21 deletions(-)
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL v2 02/10] mips/kvm: Disable FPU on reset with KVM
From: James Hogan <[email protected]>
KVM doesn't yet support the MIPS FPU, or writing to the guest's Config1 register which contains the FPU implemented bit. Clear QEMU's version of that bit on reset and display a warning that the FPU has been disabled.
The previous incorrect Config1 CP0 register value wasn't being passed to KVM yet, however we should ensure it is set correctly now to reduce the risk of breaking migration/loadvm to a future version of QEMU/Linux that does support it.
--- target-mips/kvm.c | 7 +++++++ 1 file changed, 7 insertions(+)
target-mips/kvm.c +7 -0
@@ -61,6 +61,13 @@ int kvm_arch_init_vcpu(CPUState *cs)void kvm_mips_reset_vcpu (MIPSCPU *cpu) { +CPUMIPSState *env = &cpu->env; + +if (env->CP0_Config1 & (1 <<CP0C1_FP )) { +fprintf (stderr,"Warning: FPU not supported with KVM, disabling\n" ); + env->CP0_Config1 &= ~(1 <<CP0C1_FP ); + } +DPRINTF ("%s\n" , __func__); }
Signature · 1 line
1.8.3.1
Quoted 6 lines · Paolo Bonzini
The following changes since commit
9d9de254c2b81b68cd48f2324cc753a570a4cdd8:
MAINTAINERS: seccomp: change email contact for Eduardo Otubo (2014-07-03 12:36:15 +0100)are available in the git repository at:
Quoted 8 lines
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gituq/masterfor you to fetch changes up to
dbb832225a40fdc4f518466a6e34817ee6e59988:qtest: fix vhost-user-test compilation with old GLib (2014-07-09 18:17:08 +0200)
Miroslav Rezanina (1):
Enforce stack protector usage
I'm afraid this patch causes the shell to complain when running configure:
../../configure: 1506: test: unexpected operator
That's the line
if test "$stack_protector" == "yes" ; then
There is no "==" operator in POSIX sh; you want
a single "=" for string comparison.
thanks
-- PMM