From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOgQi-0007L5-GD for qemu-devel@nongnu.org; Thu, 28 Jan 2016 01:51:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOgQe-0003mi-0Z for qemu-devel@nongnu.org; Thu, 28 Jan 2016 01:51:44 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:18305 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOgQd-0003kS-Ks for qemu-devel@nongnu.org; Thu, 28 Jan 2016 01:51:39 -0500 From: Vladimir Sementsov-Ogievskiy Date: Thu, 28 Jan 2016 09:51:09 +0300 Message-Id: <1453963872-13549-1-git-send-email-vsementsov@virtuozzo.com> Subject: [Qemu-devel] [PATCH v4 0/3] don't use NVDIMM for balooning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Vladimir Sementsov-Ogievskiy , Xiao Guangrong , "Michael S. Tsirkin" , Markus Armbruster , Stefan Hajnoczi , Igor Mammedov , "Denis V. Lunev" v4: 0001: Reviewed-by: Eric Blake second patch is splitted to 0002 and 0003 0002: Add 'type' field instead of 'balloonable' to PCDIMMDeviceInfo 0003: chec 'type' instead of 'balloonable' v3: - do not use additional class variable 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 Vladimir Sementsov-Ogievskiy (3): move get_current_ram_size to virtio-balloon.c pcdimm: add 'type' field to PCDIMMDeviceInfo balloon: don't use NVDIMM for ballooning hw/mem/pc-dimm.c | 27 +-------------------------- hw/virtio/virtio-balloon.c | 29 +++++++++++++++++++++++++++++ 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(-) -- 1.8.3.1