KVM guest-kernel panics double fault
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: extend "struct x86_emulate_ops" with "get_cpuid"arch/ arch/ | +29 | 0 replies | |
| 2/2 | KVM: fix missing "illegal instruction"-trap in protected modesarch/ arch/ | +107 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM guest-kernel panics double fault
Quoted 1 line
From
d62ca9897e9970d777aec1d399318b0df44489bdMon Sep 17 00:00:00 2001
From: Stephan Baerwolf <[email protected]>
Date: Thu, 12 Jan 2012 16:32:46 +0100
Subject: [PATCH 0/2] KVM guest-kernel panics double fault
regarding: https://lkml.org/lkml/2011/12/28/170
On tested computers (Intel Core i5-2520M, Intel Xeon X5560 and AMD Opteron 6174 [plus some misc.]), 32bit kvm guests (tested with winxp and linux-3.1) crash during execute of "syscall" (opcode 0f05). (double fault due to zeroed call of empty STAR-registers?)
64bit Intel guests behave in 32bit protected compat like AMD and not like Intel. (which would have to #UD ...)
While the crash is bad (esp. for admins using VMs to isolate), because every unpriv. user can execute 0f05 - the misbehaviour with GenuineIntel-cpuid is just a blemish.
Best regards,
Stephan Bärwolf
Stephan Baerwolf (2):
KVM: extend "struct x86_emulate_ops" with "get_cpuid"
KVM: fix missing "illegal instruction"-trap in protected modes
arch/x86/include/asm/kvm_emulate.h | 19 ++++++++ arch/x86/kvm/emulate.c | 80 ++++++++++++++++++++++++++++++++++- arch/x86/kvm/x86.c | 21 +++++++++ 3 files changed, 117 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.3.4
Quoted 1 line
From
d62ca9897e9970d777aec1d399318b0df44489bdMon Sep 17 00:00:00 2001
From: Stephan Baerwolf <[email protected]>
Date: Thu, 12 Jan 2012 16:32:46 +0100
Subject: [PATCH 0/2] KVM guest-kernel panics double fault
regarding: https://lkml.org/lkml/2011/12/28/170
On tested computers (Intel Core i5-2520M, Intel Xeon X5560 and AMD Opteron 6174 [plus some misc.]), 32bit kvm guests (tested with winxp and linux-3.1) crash during execute of "syscall" (opcode 0f05). (double fault due to zeroed call of empty STAR-registers?)
64bit Intel guests behave in 32bit protected compat like AMD and not like Intel. (which would have to #UD ...)
While the crash is bad (esp. for admins using VMs to isolate), because every unpriv. user can execute 0f05 - the misbehaviour with GenuineIntel-cpuid is just a blemish.
Best regards,
Stephan B�rwolf
Stephan Baerwolf (2):
KVM: extend "struct x86_emulate_ops" with "get_cpuid"
KVM: fix missing "illegal instruction"-trap in protected modes
arch/x86/include/asm/kvm_emulate.h | 19 ++++++++ arch/x86/kvm/emulate.c | 80 ++++++++++++++++++++++++++++++++++- arch/x86/kvm/x86.c | 21 +++++++++ 3 files changed, 117 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.3.4