xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Lengyel, Tamas" <tlengyel@novetta.com>
To: Ed White <edmund.h.white@intel.com>
Cc: Ravi Sahita <ravi.sahita@intel.com>,
	Wei Liu <wei.liu2@citrix.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
	Xen-devel <xen-devel@lists.xen.org>,
	Jan Beulich <jbeulich@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Daniel De Graaf <dgdegra@tycho.nsa.gov>
Subject: Re: [PATCH v4 15/15] tools/xen-access: altp2m testcases
Date: Thu, 9 Jul 2015 21:35:51 -0400	[thread overview]
Message-ID: <CAD33N+5YQWuNNdhNYh-SnjorP78sqrfsOrLOTCDs64ruAH8Ddg@mail.gmail.com> (raw)
In-Reply-To: <1436489553-6300-16-git-send-email-edmund.h.white@intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 859 bytes --]

> @@ -546,6 +652,23 @@ int main(int argc, char *argv[])
>                  }
>
>                  break;
> +            case VM_EVENT_REASON_SINGLESTEP:
> +                printf("Singlestep: rip=%016"PRIx64", vcpu %d\n",
> +                       req.regs.x86.rip,
> +                       req.vcpu_id);
> +
> +                if ( altp2m )
> +                {
> +                    printf("\tSwitching altp2m to view %u!\n",
> altp2m_view_id);
> +
> +                    rsp.reason = VM_EVENT_REASON_MEM_ACCESS;
>

So this was a workaround for v3 of the series that is no longer necessary -
it's probably cleaner to have the same reason set for the response as the
request was. It's not against any rule, so the code is still correct and
works, it's just not best practice. So in case there is another round on
the series, it could be fixed then.

Tamas

[-- Attachment #1.2: Type: text/html, Size: 1189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-07-10  1:35 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10  0:52 [PATCH v4 00/15] Alternate p2m: support multiple copies of host p2m Ed White
2015-07-10  0:52 ` [PATCH v4 01/15] common/domain: Helpers to pause a domain while in context Ed White
2015-07-10  0:52 ` [PATCH v4 02/15] VMX: VMFUNC and #VE definitions and detection Ed White
2015-07-10  0:52 ` [PATCH v4 03/15] VMX: implement suppress #VE Ed White
2015-07-10  9:09   ` Jan Beulich
2015-07-10 19:22     ` Sahita, Ravi
2015-07-10  0:52 ` [PATCH v4 04/15] x86/HVM: Hardware alternate p2m support detection Ed White
2015-07-10  0:52 ` [PATCH v4 05/15] x86/altp2m: basic data structures and support routines Ed White
2015-07-10  9:13   ` Jan Beulich
2015-07-10  0:52 ` [PATCH v4 06/15] VMX/altp2m: add code to support EPTP switching and #VE Ed White
2015-07-10 16:48   ` George Dunlap
2015-07-10  0:52 ` [PATCH v4 07/15] VMX: add VMFUNC leaf 0 (EPTP switching) to emulator Ed White
2015-07-10  9:30   ` Jan Beulich
2015-07-11 20:01     ` Sahita, Ravi
2015-07-11 21:25       ` Sahita, Ravi
2015-07-13  7:18         ` Jan Beulich
2015-07-13  7:13       ` Jan Beulich
2015-07-10  0:52 ` [PATCH v4 08/15] x86/altp2m: add control of suppress_ve Ed White
2015-07-10  9:39   ` Jan Beulich
2015-07-10 11:11     ` George Dunlap
2015-07-10 11:49       ` Jan Beulich
2015-07-10 11:56         ` George Dunlap
2015-07-10 17:02   ` George Dunlap
2015-07-11 21:29     ` Sahita, Ravi
2015-07-10  0:52 ` [PATCH v4 09/15] x86/altp2m: alternate p2m memory events Ed White
2015-07-10  1:01   ` Lengyel, Tamas
2015-07-10  0:52 ` [PATCH v4 10/15] x86/altp2m: add remaining support routines Ed White
2015-07-10  9:41   ` Jan Beulich
2015-07-10 17:15     ` George Dunlap
2015-07-11 20:20       ` Sahita, Ravi
2015-07-10  0:52 ` [PATCH v4 11/15] x86/altp2m: define and implement alternate p2m HVMOP types Ed White
2015-07-10 10:01   ` Jan Beulich
2015-07-10 22:03     ` Sahita, Ravi
2015-07-13  7:25       ` Jan Beulich
2015-07-13 23:39         ` Sahita, Ravi
2015-07-14  8:58           ` Jan Beulich
2015-07-10  0:52 ` [PATCH v4 12/15] x86/altp2m: Add altp2mhvm HVM domain parameter Ed White
2015-07-10  8:53   ` Wei Liu
2015-07-10 17:32   ` George Dunlap
2015-07-10 22:12     ` Sahita, Ravi
2015-07-14 11:50       ` George Dunlap
2015-07-10  0:52 ` [PATCH v4 13/15] x86/altp2m: XSM hooks for altp2m HVM ops Ed White
2015-07-10  0:52 ` [PATCH v4 14/15] tools/libxc: add support to altp2m hvmops Ed White
2015-07-10  8:46   ` Ian Campbell
2015-07-10  0:52 ` [PATCH v4 15/15] tools/xen-access: altp2m testcases Ed White
2015-07-10  1:35   ` Lengyel, Tamas [this message]
2015-07-11  6:06     ` Razvan Cojocaru
2015-07-10  8:50   ` Ian Campbell
2015-07-10  8:55     ` Wei Liu
2015-07-10  9:12       ` Wei Liu
2015-07-10  9:20       ` Ian Campbell

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=CAD33N+5YQWuNNdhNYh-SnjorP78sqrfsOrLOTCDs64ruAH8Ddg@mail.gmail.com \
    --to=tlengyel@novetta.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=edmund.h.white@intel.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=ravi.sahita@intel.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).