From: Avi Kivity <avi@redhat.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: Andi Kleen <ak@linux.intel.com>, Greg KH <gregkh@suse.de>,
Stefan Lippers-Hollmann <s.L-H@gmx.de>,
linux-kernel@vger.kernel.org, ying.huang@intel.com,
stable@kernel.org
Subject: Re: patch kvm-add-vt-x-machine-check-support.patch added to 2.6.30-stable tree
Date: Wed, 01 Jul 2009 16:41:54 +0300 [thread overview]
Message-ID: <4A4B67A2.9090300@redhat.com> (raw)
In-Reply-To: <87d48kiliq.fsf@basil.nowhere.org>
On 07/01/2009 04:24 PM, Andi Kleen wrote:
>
> KVM: Add VT-x machine check support v3
>
> VT-x needs an explicit MC vector intercept to handle machine checks in the
> hypervisor.
>
> It also has a special option to catch machine checks that happen
> during VT entry.
>
> Do these interceptions and forward them to the Linux machine check
> handler. Make it always look like user space is interrupted because
> the machine check handler treats kernel/user space differently.
>
> Thanks to Huang Ying and Jiang Yunhong for help and testing.
>
> Cc: ying.huang@intel.com
>
> v2: Handle machine checks still in interrupt off context
> to avoid problems on preemptible kernels.
> v3: Handle old style 32bit and make fully standalone
>
>
> ===================================================================
> --- linux-2.6.30-ak.orig/arch/x86/include/asm/kvm_host.h
> +++ linux-2.6.30-ak/arch/x86/include/asm/kvm_host.h
> @@ -371,6 +371,8 @@ struct kvm_vcpu_arch {
> unsigned long dr6;
> unsigned long dr7;
> unsigned long eff_db[KVM_NR_DB_REGS];
> +
> + u32 exit_reason;
> };
>
>
Should be in struct vmx_vcpu; otherwise ack.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-07-01 13:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090629184144.76C9948FD3@coco.kroah.org>
2009-06-30 22:53 ` Stefan Lippers-Hollmann
2009-06-30 23:42 ` Greg KH
2009-07-01 7:09 ` Andi Kleen
2009-07-01 7:35 ` Avi Kivity
2009-07-01 13:24 ` Andi Kleen
2009-07-01 13:41 ` Avi Kivity [this message]
2009-07-01 14:18 ` Andi Kleen
2009-07-01 14:47 ` Avi Kivity
2009-07-01 14:58 ` Greg KH
2009-07-01 15:04 ` Avi Kivity
2009-07-01 17:27 ` [stable] " Greg KH
2009-07-01 18:18 ` Avi Kivity
2009-07-01 18:42 ` Greg KH
2009-07-01 18:56 ` Avi Kivity
2009-07-01 19:31 ` Greg KH
2009-07-02 13:21 ` Avi Kivity
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=4A4B67A2.9090300@redhat.com \
--to=avi@redhat.com \
--cc=ak@linux.intel.com \
--cc=andi@firstfloor.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=s.L-H@gmx.de \
--cc=stable@kernel.org \
--cc=ying.huang@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome