From: Paolo Bonzini <pbonzini@redhat.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Peter Crosthwaite <crosthwaite.peter@gmail.com>,
Richard Henderson <rth@twiddle.net>,
"open list:Overall" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v1] exec: handle NULL pointer in flatview_read_continue
Date: Thu, 9 Aug 2018 16:52:22 +0200 [thread overview]
Message-ID: <a75c67d5-816d-a603-b7bb-12a28f034fb1@redhat.com> (raw)
In-Reply-To: <20180809163816.092a7c8c.olaf@aepfle.de>
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
On 09/08/2018 16:38, Olaf Hering wrote:
> Am Thu, 9 Aug 2018 16:37:05 +0200
> schrieb Paolo Bonzini <pbonzini@redhat.com>:
>
>> If no RAM is allocated (i.e. xen_map_cache will return NULL), however,
>> the memory should not be registered as RAM with the memory API. So I
>> think the bug is in Xen code.
>
> Someone familiar with that code has to figure that out. A ballooned page will trigger that bug.
I guess that's the answer. I think the simplest fix is for the map
cache to set aside a zero page and return it whenever it is asked for a
ballooned page.
Paolo
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2018-08-09 14:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-09 14:14 [Qemu-devel] [PATCH v1] exec: handle NULL pointer in flatview_read_continue Olaf Hering
2018-08-09 14:24 ` Olaf Hering
2018-08-09 14:37 ` Paolo Bonzini
2018-08-09 14:38 ` Olaf Hering
2018-08-09 14:52 ` Olaf Hering
2018-08-09 14:52 ` Paolo Bonzini [this message]
2018-08-09 14:55 ` Olaf Hering
2018-08-09 15:03 ` Paolo Bonzini
2018-08-10 10:25 ` Paolo Bonzini
2018-08-10 10:32 ` Olaf Hering
2018-08-10 12:29 ` Paolo Bonzini
2018-08-13 20:07 ` Olaf Hering
2018-08-14 6:26 ` Paolo Bonzini
2018-08-15 4:22 ` no-reply
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=a75c67d5-816d-a603-b7bb-12a28f034fb1@redhat.com \
--to=pbonzini@redhat.com \
--cc=crosthwaite.peter@gmail.com \
--cc=olaf@aepfle.de \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).