From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Balloon device in qemu? Date: Mon, 04 Aug 2008 10:32:58 +0200 Message-ID: <4896BEBA.4020209@redhat.com> References: <4891B7C2.70800@qumranet.com> <20080801190654.GA24342@dmt.cnet> <4893685B.1080409@us.ibm.com> <20080802130123.GK27246@duo.random> <489655E8.4070401@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Andrea Arcangeli , Marcelo Tosatti , Avi Kivity , KVM list To: Anthony Liguori Return-path: Received: from mx1.redhat.com ([66.187.233.31]:57408 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752090AbYHDIdJ (ORCPT ); Mon, 4 Aug 2008 04:33:09 -0400 In-Reply-To: <489655E8.4070401@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Anthony Liguori wrote: > > Right. Ideally, I'd like to just disable the balloon device if mmu > notifiers *and* kvm support for it are not present. If you're saying > there is no way to probe for this now from userspace, then that's > something we need to add. I think it is there, IIRC the kvm mmu notifier pull request on lkml had a few patches from Andrea with all the mm magic and one from avi adding a feature flag. Checking ... #define KVM_CAP_SYNC_MMU 16 /* Changes to host mmap are reflected in guest */ This one I guess ... cheers, Gerd -- http://kraxel.fedorapeople.org/xenner/