Received: from eggs.gnu.org ([2001:4830:134:3::10]:59973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOQ5f-0005gd-9b for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:24:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOQ5c-0004E8-0L for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:24:55 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:12870 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOQ5b-0004Cs-Ik for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:24:51 -0500 From: "Denis V. Lunev" Date: Wed, 27 Jan 2016 16:24:27 +0300 Message-Id: <1453901069-18091-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH v3 0/2] nvdimm: disable balloon List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vladimir Sementsov-Ogievskiy , Xiao Guangrong , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Markus Armbruster , Stefan Hajnoczi , Igor Mammedov , "Denis V. Lunev" NVDIMM for now is planned to use as a backing store for DAX filesystem in the guest and thus this memory is excluded from guest memory management and LRUs. In this case libvirt running QEMU along with configured balloon almost immediately inflates balloon and effectively kill the guest as qemu counts nvdimm as part of the ram. Signed-off-by: Vladimir Sementsov-Ogievskiy Signed-off-by: Denis V. Lunev CC: Stefan Hajnoczi CC: Xiao Guangrong CC: "Michael S. Tsirkin" CC: Igor Mammedov CC: Eric Blake CC: Markus Armbruster v3: - do not use additional class variable Vladimir Sementsov-Ogievskiy (2): move get_current_ram_size to virtio-balloon.c nvdimm: disable balloon hw/mem/pc-dimm.c | 28 ++-------------------------- hw/virtio/virtio-balloon.c | 28 ++++++++++++++++++++++++++++ include/exec/cpu-common.h | 1 - qapi-schema.json | 5 ++++- stubs/qmp_pc_dimm_device_list.c | 5 ----- 5 files changed, 34 insertions(+), 33 deletions(-) -- 2.5.0