From: Andrea Arcangeli <andrea@qumranet.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
Avi Kivity <avi@qumranet.com>, KVM list <kvm@vger.kernel.org>
Subject: Re: Balloon device in qemu?
Date: Mon, 4 Aug 2008 13:56:49 +0200 [thread overview]
Message-ID: <20080804115649.GF11476@duo.random> (raw)
In-Reply-To: <4896BEBA.4020209@redhat.com>
On Mon, Aug 04, 2008 at 10:32:58AM +0200, Gerd Hoffmann wrote:
> #define KVM_CAP_SYNC_MMU 16 /* Changes to host mmap are reflected in
> guest */
>
> This one I guess ...
That doesn't currently tell if kvm is using mmu notifiers though,
because it's set unconditionally. If we want to use it to tell if kvm
is using mmu notifiers we've to wrap it around an #ifdef or to use the
awk hack, which is trivial to add.
I'm more worried about the fact that with Anthony's plan ballooning
will be unusable for a long while on enterprise distros, as it will
take a while before they run on a >=2.6.27 kernel. So I wonder if a
compact layer is worth it. But surely initially we can modify
KVM_CAP_SYNC_MMU to not be set if kernel isn't compiled with
CONFIG_MMU_NOTIFIER=y and we can add the compact layer later if needed.
next prev parent reply other threads:[~2008-08-04 11:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 13:01 Balloon device in qemu? Avi Kivity
2008-08-01 19:06 ` Marcelo Tosatti
2008-08-01 19:47 ` Anthony Liguori
2008-08-02 13:01 ` Andrea Arcangeli
2008-08-04 1:05 ` Anthony Liguori
2008-08-04 8:32 ` Gerd Hoffmann
2008-08-04 11:56 ` Andrea Arcangeli [this message]
2008-08-18 14:00 ` Avi Kivity
2008-08-18 14:03 ` 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=20080804115649.GF11476@duo.random \
--to=andrea@qumranet.com \
--cc=aliguori@us.ibm.com \
--cc=avi@qumranet.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.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