xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Mukesh Rathor <mukesh.rathor@oracle.com>,
	"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>
Subject: Re: [RFC PATCH 2/16]: PVH xen: add XENMEM_add_to_physmap_range
Date: Sat, 12 Jan 2013 07:51:29 +0000	[thread overview]
Message-ID: <CD16C681.493D7%keir.xen@gmail.com> (raw)
In-Reply-To: <20130111172856.47458602@mantra.us.oracle.com>

On 12/01/2013 01:28, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:

> In this patch we add a new function xenmem_add_to_physmap_range(), and
> change xenmem_add_to_physmap_once parameters so it can be called from
> xenmem_add_to_physmap_range. There is no PVH specific change here.
> 
> BTW, there are 16 patches and not 15. Sorry, corrected the subject.
> 
> Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
> 
> 
> diff -r 278d7a933d88 -r ede1afe68962 xen/arch/x86/mm.c
> --- a/xen/arch/x86/mm.c Fri Jan 11 16:19:40 2013 -0800
> +++ b/xen/arch/x86/mm.c Fri Jan 11 16:20:38 2013 -0800
> @@ -4218,8 +4218,8 @@ static int handle_iomem_range(unsigned l
>  }
>  
>  static int xenmem_add_to_physmap_once(
> -    struct domain *d,
> -    const struct xen_add_to_physmap *xatp)
> +    struct domain *d, uint16_t xatp_space, domid_t foreign_domid,
> +    unsigned long xatp_idx, unsigned long xatp_gpfn)

The new caller should pack these arguments into a xen_add_to_physmap struct
like all the others do. Don't atomise struct arguments like this, it's
gross.

 -- Keir

  reply	other threads:[~2013-01-12  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-12  1:28 [RFC PATCH 2/16]: PVH xen: add XENMEM_add_to_physmap_range Mukesh Rathor
2013-01-12  7:51 ` Keir Fraser [this message]
2013-01-15  0:34   ` Mukesh Rathor

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=CD16C681.493D7%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=mukesh.rathor@oracle.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 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).