* [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1
@ 2014-07-09 16:18 Paolo Bonzini
2014-07-09 16:18 ` [Qemu-devel] [PULL v2 02/10] mips/kvm: Disable FPU on reset with KVM Paolo Bonzini
2014-07-10 14:50 ` [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1 Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Paolo Bonzini @ 2014-07-09 16:18 UTC (permalink / raw)
To: qemu-devel
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(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL v2 02/10] mips/kvm: Disable FPU on reset with KVM
2014-07-09 16:18 [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1 Paolo Bonzini
@ 2014-07-09 16:18 ` Paolo Bonzini
2014-07-10 14:50 ` [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1 Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2014-07-09 16:18 UTC (permalink / raw)
To: qemu-devel; +Cc: James Hogan, Aurelien Jarno
From: James Hogan <james.hogan@imgtec.com>
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.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target-mips/kvm.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/target-mips/kvm.c b/target-mips/kvm.c
index 844e5bb..97fd51a 100644
--- a/target-mips/kvm.c
+++ b/target-mips/kvm.c
@@ -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__);
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1
2014-07-09 16:18 [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1 Paolo Bonzini
2014-07-09 16:18 ` [Qemu-devel] [PULL v2 02/10] mips/kvm: Disable FPU on reset with KVM Paolo Bonzini
@ 2014-07-10 14:50 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2014-07-10 14:50 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: QEMU Developers
On 9 July 2014 17:18, Paolo Bonzini <pbonzini@redhat.com> wrote:
> 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)
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-10 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 16:18 [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1 Paolo Bonzini
2014-07-09 16:18 ` [Qemu-devel] [PULL v2 02/10] mips/kvm: Disable FPU on reset with KVM Paolo Bonzini
2014-07-10 14:50 ` [Qemu-devel] [PULL for-2.1 v2 00/10] KVM changes (+ misc small fixes) for 2.1 Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).