From: Dan Aloni <da-x@monatomic.org>
To: Avi Kivity <avi@qumranet.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: kvm-60: kexec in guest crashes the host
Date: Wed, 27 Feb 2008 23:32:29 +0200 [thread overview]
Message-ID: <20080227213228.GA32178@localdomain> (raw)
In-Reply-To: <47C56D8D.4060803@qumranet.com>
On Wed, Feb 27, 2008 at 04:02:53PM +0200, Avi Kivity wrote:
> Avi Kivity wrote:
[...]
>>
>> I managed to reproduce it (FC6 kernel kexecing itself). It is Intel
>> specific.
>>
>>
>
> The attached patch fixes the problem for me.
Works for me too.
> diff --git a/kernel/vmx.c b/kernel/vmx.c
> index 7ce02d2..ccc8174 100644
> --- a/kernel/vmx.c
> +++ b/kernel/vmx.c
> @@ -1356,6 +1356,7 @@ static void vmx_set_efer(struct kvm_vcpu *vcpu, u64 efer)
>
> msr->data = efer & ~EFER_LME;
> }
> + vmx_load_host_state(vmx);
> setup_msrs(vmx);
> }
>
--
Dan Aloni
XIV, an IBM (R) company. http://www.xivstorage.com
da-x (at) monatomic.org, dan (at) xiv.co.il
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
prev parent reply other threads:[~2008-02-27 21:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 10:25 kvm-60: kexec in guest crashes the host Dan Aloni
2008-02-19 16:03 ` Avi Kivity
2008-02-19 16:46 ` Dan Aloni
2008-02-20 9:09 ` Avi Kivity
2008-02-20 10:48 ` Dan Aloni
2008-02-25 19:25 ` Dan Aloni
2008-02-27 12:51 ` Avi Kivity
2008-02-27 14:02 ` Avi Kivity
2008-02-27 21:32 ` Dan Aloni [this message]
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=20080227213228.GA32178@localdomain \
--to=da-x@monatomic.org \
--cc=avi@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
/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