From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, paul.durrant@citrix.com
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Fix save/restore for HVM domains with viridian=1
Date: Fri, 25 Nov 2011 15:16:30 +0000 [thread overview]
Message-ID: <CAF561CE.25A6B%keir.xen@gmail.com> (raw)
In-Reply-To: <4ECFBB26020000780006356F@nat28.tlf.novell.com>
On 25/11/2011 14:58, "Jan Beulich" <JBeulich@suse.com> wrote:
>> xc_domain_save/restore currently pay no attention to HVM_PARAM_VIRIDIAN
>> which
>> results in an HVM domain running a recent version on Windows (post-Vista)
>> locking up on a domain restore due to EOIs (done via a viridian MSR write)
>> being silently dropped.
>> This patch adds an extra save entry for the viridian parameter and also
>> adds code in the viridian kernel module to catch attempted use of viridian
>> functionality when the HVM parameter has not been set.
>
> Assuming this means the changes to {rd,wr}msr_viridian_regs(), isn't
> this going to needlessly spam the log? I.e. printing this just once (per
> VM) would seem to suffice. Or alternatively I would think that
> HVM_DBG_LOG() would be a better choice here.
It's unlikely to print more than once before the VM wedges. We could go
further and inject #GP, which we ought to be doing anyway.
-- Keir
next prev parent reply other threads:[~2011-11-25 15:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-25 14:50 [PATCH] Fix save/restore for HVM domains with viridian=1 Paul Durrant
2011-11-25 14:58 ` Jan Beulich
2011-11-25 15:16 ` Keir Fraser [this message]
2011-11-25 15:00 ` Tim Deegan
2011-11-25 15:18 ` Keir Fraser
2011-11-25 15:26 ` Paul Durrant
-- strict thread matches above, loose matches on Subject: below --
2011-11-25 15:14 Paul Durrant
2011-11-25 15:25 ` Tim Deegan
2011-11-25 15:28 Paul Durrant
2011-11-25 15:29 Paul Durrant
2011-11-25 15:30 ` Paul Durrant
2011-11-25 15:30 Paul Durrant
2011-11-25 15:39 ` Keir Fraser
2011-11-25 15:42 ` Paul Durrant
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=CAF561CE.25A6B%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=JBeulich@suse.com \
--cc=paul.durrant@citrix.com \
--cc=xen-devel@lists.xensource.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 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.