qemu-patch-raspberry4/hw
Vladimir Sementsov-Ogievskiy 2b75f84823 balloon: Use only 'pc-dimm' type dimm for ballooning
For now there are only two dimm's: pc-dimm and nvdimm. This patch is
actually needed to disable ballooning on nvdimm. But, to avoid future
bugs, instead of disallowing nvdimm, we allow only pc-dimm. So, if
someone adds new dimm which should be balloon-able, then this ability
should be explicitly specified here.

Why ballooning for nvdimm should be disabled for now:

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.

Counting dimm devices as part of the ram for ballooning was started from
commit 463756d03:
 virtio-balloon: Fix balloon not working correctly when hotplug memory

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-02-25 13:14:18 +02:00
..
9pfs virtio: move allocation to virtqueue_pop/vring_pop 2016-02-06 20:39:07 +02:00
acpi bios-linker-loader: document+validate input 2016-02-23 12:55:16 +02:00
alpha alpha: Clean up includes 2016-01-29 15:07:23 +00:00
arm bios-linker-loader: document+validate input 2016-02-23 12:55:16 +02:00
audio ES1370: QOMify 2016-02-11 15:15:46 +03:00
block hw/block/nand.c: Include osdep.h first 2016-02-16 14:29:26 +00:00
bt hw: Clean up includes 2016-01-29 15:07:25 +00:00
char virtio: introduce qemu_get/put_virtqueue_element 2016-02-06 20:44:08 +02:00
core qapi: Drop unused 'kind' for struct/enum visit 2016-02-08 17:29:57 +01:00
cpu hw: Clean up includes 2016-01-29 15:07:25 +00:00
cris cris: Clean up includes 2016-01-29 15:07:24 +00:00
display xen: Drop __XEN_LATEST_INTERFACE_VERSION__ checks from prior to Xen 4.2 2016-02-10 12:01:32 +00:00
dma etraxfs_dma: Dont forward zero-length payload to clients 2016-02-20 00:17:48 +01:00
gpio ARM: PL061: Cleaning field of PL061 device state 2016-02-18 14:26:33 +00:00
i2c hw: Clean up includes 2016-01-29 15:07:25 +00:00
i386 bios-linker-loader: document+validate input 2016-02-23 12:55:16 +02:00
ide ahci: prohibit "restarting" the FIS or CLB engines 2016-02-10 13:29:40 -05:00
input cuda: port SET_DEVICE_LIST command to new framework 2016-02-17 09:59:30 +11:00
intc all: Clean up includes 2016-02-16 14:29:28 +00:00
ipack hw: Clean up includes 2016-01-29 15:07:25 +00:00
ipmi ipmi: sensor number should not exceed MAX_SENSORS 2016-02-16 16:41:25 +01:00
isa qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
lm32 lm32: Clean up includes 2016-01-29 15:07:22 +00:00
m68k m68k: Clean up includes 2016-01-29 15:07:24 +00:00
mem move get_current_ram_size to virtio-balloon.c 2016-02-23 12:55:16 +02:00
microblaze microblaze: Clean up includes 2016-01-28 11:13:13 +00:00
mips magnum: disable floppy DMA for now 2016-02-03 11:28:57 -05:00
misc cuda: remove CUDA_GET_SET_IIC/CUDA_COMBINED_FORMAT_IIC commands 2016-02-17 09:59:31 +11:00
moxie moxie: Clean up includes 2016-01-29 15:07:25 +00:00
net vhost-user interrupt management fixes 2016-02-18 16:13:56 +02:00
nvram hw: fix some debug message format strings 2016-02-17 09:59:29 +11:00
openrisc openrisc: Clean up includes 2016-01-29 15:07:24 +00:00
pci pcie_aer: expose pcie_aer_msg() interface 2016-02-19 09:42:28 -07:00
pci-bridge aer: impove pcie_aer_init to support vfio device 2016-02-19 09:42:28 -07:00
pci-host vhost, virtio, pci, pxe 2016-02-19 10:50:37 +00:00
pcmcia hw: Clean up includes 2016-01-29 15:07:25 +00:00
ppc hw/ppc/spapr: Halt CPU when powering off via RTAS call 2016-02-18 11:08:43 +11:00
s390x s390x: remove s390-zipl.rom 2016-02-11 15:15:47 +03:00
scsi mptsas: fix wrong formula 2016-02-16 16:41:22 +01:00
sd hw/sd: use guest error logging rather than fprintf to stderr 2016-02-18 14:50:50 +00:00
sh4 sh4: Clean up includes 2016-01-29 15:07:24 +00:00
smbios hw: Clean up includes 2016-01-29 15:07:25 +00:00
sparc dma: remove now useless DMA_* functions 2016-02-03 11:28:58 -05:00
sparc64 dma: remove now useless DMA_* functions 2016-02-03 11:28:58 -05:00
ssi hw: Clean up includes 2016-01-29 15:07:25 +00:00
timer hw/timer: QOM'ify pxa2xx_timer 2016-02-18 14:50:51 +00:00
tpm hw: Clean up includes 2016-01-29 15:07:25 +00:00
tricore tricore: Clean up includes 2016-01-29 15:07:25 +00:00
unicore32 unicore: Clean up includes 2016-01-29 15:07:22 +00:00
usb Passthru CCID card: QOMify 2016-02-11 15:15:47 +03:00
vfio vfio/pci: use PCI_MSIX_FLAGS on retrieving the MSIX entries 2016-02-19 09:42:32 -07:00
virtio balloon: Use only 'pc-dimm' type dimm for ballooning 2016-02-25 13:14:18 +02:00
watchdog hw: Clean up includes 2016-01-29 15:07:25 +00:00
xen xen: drop XenXC and associated interface wrappers 2016-02-10 12:01:24 +00:00
xenpv xen: Clean up includes 2016-01-29 15:07:23 +00:00
xtensa xtensa: Clean up includes 2016-01-29 15:07:24 +00:00
Makefile.objs Add a base IPMI interface 2015-12-22 18:39:19 +02:00