All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: stephan.baerwolf@tu-ilmenau.de
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH 0/2] KVM guest-kernel panics double fault
Date: Thu, 12 Jan 2012 16:56:33 +0100	[thread overview]
Message-ID: <4F0F02B1.8080508@siemens.com> (raw)
In-Reply-To: <4F0EFF84.8020500@tu-ilmenau.de>

On 2012-01-12 16:43, Stephan Bärwolf wrote:
> From d62ca9897e9970d777aec1d399318b0df44489bd Mon Sep 17 00:00:00 2001
> From: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
> 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(-)
> 

linux/scripts/checkpatch.pl can help identifying remaining style violations.

Moreover, when sending your patches via Thunderbird, you first need to
make sure that you have its line wrapping under control. "Toggle Word
Wrap" helps me for single patches. But for series, I prefer (scripted)
git format-patch/send-email.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

  reply	other threads:[~2012-01-12 15:56 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29  1:59 KVM guest-kernel panics double fault Stephan Bärwolf
2011-12-29 10:04 ` Avi Kivity
2012-01-08  2:31   ` Stephan Bärwolf
2012-01-08 10:21     ` Avi Kivity
2012-01-10 10:11       ` Stephan Bärwolf
2012-01-10 10:31         ` Avi Kivity
2012-01-10 12:17           ` Stephan Bärwolf
2012-01-10 12:34             ` Avi Kivity
2012-01-10 12:48               ` Stephan Bärwolf
2012-01-10 14:26                 ` [PATCH 0/2] " Stephan Bärwolf
2012-01-10 14:26                 ` [PATCH 1/2] KVM: extend "struct x86_emulate_ops" with "get_cpuid" Stephan Bärwolf
2012-01-10 14:26                 ` [PATCH 2/2] KVM: fix missing "illegal instruction"-trap in protected modes Stephan Bärwolf
2012-01-11 19:09                   ` Marcelo Tosatti
2012-01-11 20:01                     ` Stephan Bärwolf
2012-01-11 21:21                       ` Marcelo Tosatti
2012-01-11 22:19                         ` Stephan Bärwolf
2012-01-12 10:47                           ` Marcelo Tosatti
2012-01-12 15:43                             ` [PATCH 0/2] KVM guest-kernel panics double fault Stephan Bärwolf
2012-01-12 15:56                               ` Jan Kiszka [this message]
2012-01-13 10:13                                 ` Marcelo Tosatti
2012-01-15 19:44                                   ` Stephan Bärwolf
2012-01-16  9:58                                     ` Marcelo Tosatti
2012-01-16 11:24                                       ` Stephan Bärwolf
2012-01-12 15:43                             ` [PATCH 1/2] KVM: extend "struct x86_emulate_ops" with "get_cpuid" Stephan Bärwolf
2012-01-12 15:43                             ` [PATCH 2/2] KVM: fix missing "illegal instruction"-trap in protected modes Stephan Bärwolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0F02B1.8080508@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=stephan.baerwolf@tu-ilmenau.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.