v4: 0001: Reviewed-by: Eric Blake <ebl...@redhat.com> 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 <vsement...@virtuozzo.com> Signed-off-by: Denis V. Lunev <d...@openvz.org> CC: Stefan Hajnoczi <stefa...@redhat.com> CC: Xiao Guangrong <guangrong.x...@linux.intel.com> CC: "Michael S. Tsirkin" <m...@redhat.com> CC: Igor Mammedov <imamm...@redhat.com> CC: Eric Blake <ebl...@redhat.com> CC: Markus Armbruster <arm...@redhat.com> 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