v4:
 0001: Reviewed-by: Eric Blake <[email protected]>
 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 <[email protected]>
Signed-off-by: Denis V. Lunev <[email protected]>
CC: Stefan Hajnoczi <[email protected]>
CC: Xiao Guangrong <[email protected]>
CC: "Michael S. Tsirkin" <[email protected]>
CC: Igor Mammedov <[email protected]>
CC: Eric Blake <[email protected]>
CC: Markus Armbruster <[email protected]>

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


Reply via email to