From: Don Slutz <don.slutz@gmail.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
Don Slutz <dslutz@verizon.com>,
xen-devel@lists.xen.org
Cc: Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Tim Deegan <tim@xen.org>, Ian Jackson <ian.jackson@eu.citrix.com>,
"security@xenproject.org" <security@xenproject.org>,
Jan Beulich <jbeulich@suse.com>, Wei Liu <wei.liu2@citrix.com>,
Mukesh Rathor <mukesh.rathor@oracle.com>
Subject: Re: [PATCH 1/2] gdbsx_guestmemio: Allow it to check domain.
Date: Thu, 18 Jun 2015 16:39:50 -0400 [thread overview]
Message-ID: <55832C96.5030501@Gmail.com> (raw)
In-Reply-To: <5582F8DE.2060203@citrix.com>
On 06/18/15 12:59, Andrew Cooper wrote:
> On 18/06/15 16:55, Don Slutz wrote:
>> gdbsx_guest_mem_io() does not get d passed, it expects to handle
>> the domain lookup itself.
>>
>> Signed-off-by: Don Slutz <dslutz@verizon.com>
>> CC: Don Slutz <don.slutz@gmail.com>
>
> As for the change itself, Reviewed-by: Andrew Cooper
> <andrew.cooper3@citrix.com>
>
> However, I think the commit message needs improving. Specifically, the
> caller of XEN_DOMCTL_gdbsx_guestmemio is expected to use DOMID_IDLE to
> interact with the hypervisor, rather than a domain, which doesn't
> interact well with with the domain rcu lock.
I am happy to change it to:
Specifically, the caller of XEN_DOMCTL_gdbsx_guestmemio is expected to
use DOMID_IDLE to interact with the hypervisor, rather than a domain,
which doesn't interact well with with the domain rcu lock.
Do you want me to add:
(h/t to Andrew Cooper for the patch summary.)
-Don Slutz
>
>> ---
>> xen/common/domctl.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/xen/common/domctl.c b/xen/common/domctl.c
>> index ce517a7..2a2d203 100644
>> --- a/xen/common/domctl.c
>> +++ b/xen/common/domctl.c
>> @@ -443,6 +443,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl)
>> case XEN_DOMCTL_createdomain:
>> case XEN_DOMCTL_getdomaininfo:
>> case XEN_DOMCTL_test_assign_device:
>> + case XEN_DOMCTL_gdbsx_guestmemio:
>> d = NULL;
>> break;
>> default:
>
next prev parent reply other threads:[~2015-06-18 20:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 15:55 [PATCH 0/2] Allow chnaging of external varibles in the hypervisor Don Slutz
2015-06-18 15:55 ` [PATCH 1/2] gdbsx_guestmemio: Allow it to check domain Don Slutz
2015-06-18 16:59 ` Andrew Cooper
2015-06-18 20:39 ` Don Slutz [this message]
2015-06-18 15:55 ` [PATCH 2/2] Add xen-hyp-rw Don Slutz
2015-06-18 17:05 ` Andrew Cooper
2015-06-18 20:50 ` Don Slutz
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=55832C96.5030501@Gmail.com \
--to=don.slutz@gmail.com \
--cc=andrew.cooper3@citrix.com \
--cc=dslutz@verizon.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=mukesh.rathor@oracle.com \
--cc=security@xenproject.org \
--cc=stefano.stabellini@eu.citrix.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 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.