All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Cc: Kevin Tian <kevin.tian@intel.com>, Wei Liu <wei.liu2@citrix.com>,
	suravee.suthikulpanit@amd.com,
	Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>,
	Jun Nakajima <jun.nakajima@intel.com>, Keir Fraser <keir@xen.org>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [PATCH v2 1/2] x86/HVM: hvm_map_guest_frame_rw() adjustments
Date: Wed, 12 Aug 2015 16:44:26 +0100	[thread overview]
Message-ID: <55CB69DA.9020904@citrix.com> (raw)
In-Reply-To: <55CB7161020000780009A2D3@prv-mh.provo.novell.com>

On 12/08/15 15:16, Jan Beulich wrote:
> ... and its callers.
>
> While all non-nested users are made fully honor the semantics of that
> type, doing so in the nested case seemed insane (if doable at all,
> considering VMCS shadowing), and hence there the respective operations
> are simply made fail.
>
> One case not (yet) taken care of is that of a page getting transitioned
> to this type after a mapping got established.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>, with one style
correction...

> @@ -4071,11 +4082,11 @@ void hvm_task_switch(
>      v->arch.hvm_vcpu.guest_cr[0] |= X86_CR0_TS;
>      hvm_update_guest_cr(v, 0);
>  
> -    if ( (taskswitch_reason == TSW_iret) ||
> -         (taskswitch_reason == TSW_jmp) )
> +    if ( (taskswitch_reason == TSW_iret ||
> +          taskswitch_reason == TSW_jmp) && otd_writable)

Space.

~Andrew

  reply	other threads:[~2015-08-12 15:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 14:09 [PATCH v2 0/2] x86/HVM: hvm_map_guest_frame_rw() adjustments Jan Beulich
2015-08-12 14:16 ` [PATCH v2 1/2] " Jan Beulich
2015-08-12 15:44   ` Andrew Cooper [this message]
2015-08-13  9:22   ` Wei Liu
2015-08-13  9:33     ` Jan Beulich
2015-08-13  9:35       ` Wei Liu
2015-08-13 10:09         ` Jan Beulich
2015-08-14  7:28   ` Tian, Kevin
2015-08-12 14:19 ` [PATCH v2 2/2] x86/HVM: correct page dirty marking in hvm_map_guest_frame_rw() Jan Beulich
2015-08-12 15:13   ` Andrew Cooper
2015-08-12 15:26     ` Jan Beulich
2015-08-12 17:24       ` Andrew Cooper
2015-08-13  6:32         ` Jan Beulich

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=55CB69DA.9020904@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=aravind.gopalakrishnan@amd.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jun.nakajima@intel.com \
    --cc=keir@xen.org \
    --cc=kevin.tian@intel.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.