From: Anthony Liguori <anthony@codemonkey.ws>
To: Jes.Sorensen@redhat.com
Cc: stefanha@gmail.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH resend] Add missing trace call to oslib-posix.c:qemu_vmalloc()
Date: Fri, 29 Jul 2011 09:36:55 -0500 [thread overview]
Message-ID: <4E32C587.4070005@codemonkey.ws> (raw)
In-Reply-To: <1311606816-24045-1-git-send-email-Jes.Sorensen@redhat.com>
On 07/25/2011 10:13 AM, Jes.Sorensen@redhat.com wrote:
> From: Jes Sorensen<Jes.Sorensen@redhat.com>
>
> Signed-off-by: Jes Sorensen<Jes.Sorensen@redhat.com>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> oslib-posix.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/oslib-posix.c b/oslib-posix.c
> index 3a18e86..196099c 100644
> --- a/oslib-posix.c
> +++ b/oslib-posix.c
> @@ -79,7 +79,10 @@ void *qemu_memalign(size_t alignment, size_t size)
> /* alloc shared memory pages */
> void *qemu_vmalloc(size_t size)
> {
> - return qemu_memalign(getpagesize(), size);
> + void *ptr;
> + ptr = qemu_memalign(getpagesize(), size);
> + trace_qemu_vmalloc(size, ptr);
> + return ptr;
> }
>
> void qemu_vfree(void *ptr)
prev parent reply other threads:[~2011-07-29 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-25 15:13 [Qemu-devel] [PATCH resend] Add missing trace call to oslib-posix.c:qemu_vmalloc() Jes.Sorensen
2011-07-25 15:25 ` Stefan Hajnoczi
2011-07-29 14:36 ` Anthony Liguori [this message]
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=4E32C587.4070005@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Jes.Sorensen@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.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 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.