From: Avi Kivity <avi@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: Bobby Powers <bobbypowers@gmail.com>,
qemu-devel <qemu-devel@nongnu.org>,
Anthony Liguori <anthony@codemonkey.ws>,
KVM list <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [PULL] Urgent memory fix for kvm with unaligned memory slots
Date: Thu, 01 Mar 2012 19:13:38 +0200 [thread overview]
Message-ID: <4F4FAE42.7010103@redhat.com> (raw)
In-Reply-To: <4F4FAD1F.7080603@redhat.com>
On 03/01/2012 07:08 PM, Eric Blake wrote:
> On 03/01/2012 10:03 AM, Avi Kivity wrote:
> >>>
> >>> - ram = memory_region_get_ram_ptr(mr) + section->offset_within_region;
> >>> + ram = memory_region_get_ram_ptr(mr) + section->offset_within_region
> >>> + delta;
> >>
> >> Am I crazy, or does this look wrong?
> >
> > Could be both. Why do you thing it is wrong?
>
> Line wrapping makes it look like we are adding two lines, one line
> ending in 'section->offset_within_region', and the next line starting
> with 'delta;', which is a syntax error.
>
> But without line wrapping, we are adding just one line with
> 'offset_within_region + delta;' at the end of that line.
>
Ah, of course. I just copy/pasted this into thunderbird, this is not a
proper patch but a pull request. Sorry about the confusion.
Bobby: so it does indeed look wrong. This says nothing about your
sanity though, for that consult a qualified professional instead of
asking on the mailing list.
--
error compiling committee.c: too many arguments to function
WARNING: multiple messages have this Message-ID (diff)
From: Avi Kivity <avi@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
qemu-devel <qemu-devel@nongnu.org>,
Bobby Powers <bobbypowers@gmail.com>,
KVM list <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [PULL] Urgent memory fix for kvm with unaligned memory slots
Date: Thu, 01 Mar 2012 19:13:38 +0200 [thread overview]
Message-ID: <4F4FAE42.7010103@redhat.com> (raw)
In-Reply-To: <4F4FAD1F.7080603@redhat.com>
On 03/01/2012 07:08 PM, Eric Blake wrote:
> On 03/01/2012 10:03 AM, Avi Kivity wrote:
> >>>
> >>> - ram = memory_region_get_ram_ptr(mr) + section->offset_within_region;
> >>> + ram = memory_region_get_ram_ptr(mr) + section->offset_within_region
> >>> + delta;
> >>
> >> Am I crazy, or does this look wrong?
> >
> > Could be both. Why do you thing it is wrong?
>
> Line wrapping makes it look like we are adding two lines, one line
> ending in 'section->offset_within_region', and the next line starting
> with 'delta;', which is a syntax error.
>
> But without line wrapping, we are adding just one line with
> 'offset_within_region + delta;' at the end of that line.
>
Ah, of course. I just copy/pasted this into thunderbird, this is not a
proper patch but a pull request. Sorry about the confusion.
Bobby: so it does indeed look wrong. This says nothing about your
sanity though, for that consult a qualified professional instead of
asking on the mailing list.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-03-01 17:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 13:40 [PULL] Urgent memory fix for kvm with unaligned memory slots Avi Kivity
2012-03-01 13:40 ` [Qemu-devel] " Avi Kivity
2012-03-01 16:51 ` Bobby Powers
2012-03-01 16:51 ` [Qemu-devel] " Bobby Powers
2012-03-01 17:03 ` Avi Kivity
2012-03-01 17:03 ` [Qemu-devel] " Avi Kivity
2012-03-01 17:08 ` Eric Blake
2012-03-01 17:08 ` Eric Blake
2012-03-01 17:11 ` Bobby Powers
2012-03-01 17:11 ` Bobby Powers
2012-03-01 17:13 ` Avi Kivity [this message]
2012-03-01 17:13 ` Avi Kivity
2012-03-02 13:23 ` Anthony Liguori
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=4F4FAE42.7010103@redhat.com \
--to=avi@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=bobbypowers@gmail.com \
--cc=eblake@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.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.