qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] nvdimm: disable balloon
@ 2016-01-27 13:24 Denis V. Lunev
  2016-01-27 13:24 ` [Qemu-devel] [PATCH 1/2] move get_current_ram_size to virtio-balloon.c Denis V. Lunev
  2016-01-27 13:24 ` [Qemu-devel] [PATCH 2/2] nvdimm: disable balloon Denis V. Lunev
  0 siblings, 2 replies; 6+ messages in thread
From: Denis V. Lunev @ 2016-01-27 13:24 UTC (permalink / raw)
  Cc: Vladimir Sementsov-Ogievskiy, Xiao Guangrong, Michael S. Tsirkin,
	qemu-devel, 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 <vsementsov@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Xiao Guangrong <guangrong.xiao@linux.intel.com>
CC: "Michael S. Tsirkin" <mst@redhat.com>
CC: Igor Mammedov <imammedo@redhat.com>
CC: Eric Blake <eblake@redhat.com>
CC: Markus Armbruster <armbru@redhat.com>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-27 20:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 13:24 [Qemu-devel] [PATCH v3 0/2] nvdimm: disable balloon Denis V. Lunev
2016-01-27 13:24 ` [Qemu-devel] [PATCH 1/2] move get_current_ram_size to virtio-balloon.c Denis V. Lunev
2016-01-27 20:50   ` Eric Blake
2016-01-27 13:24 ` [Qemu-devel] [PATCH 2/2] nvdimm: disable balloon Denis V. Lunev
2016-01-27 14:31   ` Igor Mammedov
2016-01-27 20:52   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).