From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Paul Durrant <paul.durrant@citrix.com>, xen-devel@lists.xenproject.org
Cc: Keir Fraser <keir@xen.org>, Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH 1/2] x86/hvm: actually release ioreq server pages
Date: Thu, 23 Apr 2015 16:50:57 +0100 [thread overview]
Message-ID: <553914E1.5050705@citrix.com> (raw)
In-Reply-To: <1429803988-10177-2-git-send-email-paul.durrant@citrix.com>
On 23/04/15 16:46, Paul Durrant wrote:
> hvm_free_ioreq_gmfn has the sense of the ioreq_gmfn mask inverted; it
> needs to set a bit to release the gmfn, not clear it.
>
> Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
> Cc: Keir Fraser <keir@xen.org>
> Cc: Jan Beulich <jbeulich@suse.com>
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>
s/mask/free_mask/ ?
For the change itself, Reviewed-by: Andrew Cooper
<andrew.cooper3@citrix.com>
> ---
> xen/arch/x86/hvm/hvm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
> index bfde380..f840175 100644
> --- a/xen/arch/x86/hvm/hvm.c
> +++ b/xen/arch/x86/hvm/hvm.c
> @@ -496,7 +496,7 @@ static void hvm_free_ioreq_gmfn(struct domain *d, unsigned long gmfn)
> {
> unsigned int i = gmfn - d->arch.hvm_domain.ioreq_gmfn.base;
>
> - clear_bit(i, &d->arch.hvm_domain.ioreq_gmfn.mask);
> + set_bit(i, &d->arch.hvm_domain.ioreq_gmfn.mask);
> }
>
> static void hvm_unmap_ioreq_page(struct hvm_ioreq_server *s, bool_t buf)
next prev parent reply other threads:[~2015-04-23 17:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-23 15:46 [PATCH 0/2] x86/hvm: ioreq server fixes Paul Durrant
2015-04-23 15:46 ` [PATCH 1/2] x86/hvm: actually release ioreq server pages Paul Durrant
2015-04-23 15:50 ` Andrew Cooper [this message]
2015-04-24 8:01 ` Jan Beulich
2015-04-24 9:28 ` Paul Durrant
2015-04-23 15:46 ` [PATCH 2/2] x86/hvm: implicitly disable an ioreq server when it is destroyed Paul Durrant
2015-04-23 16:02 ` Andrew Cooper
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=553914E1.5050705@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=paul.durrant@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.