qemu-e2k/stubs
zhanghailiang 87a45cfee6 pc-dimm: add a function to calculate VM's current RAM size
The global parameter 'ram_size' does not take into account
the hotplugged memory.

In some codes, we use 'ram_size' as current VM's real RAM size,
which is not correct.

Add function 'get_current_ram_size' to calculate VM's current RAM size,
it will enumerate present memory devices and also plus ram_size.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2015-03-04 13:00:04 -05:00
..
arch-query-cpu-def.c qerror.h: Replace QERR_NOT_SUPPORTED with QERR_UNSUPPORTED 2014-04-25 09:19:59 -04:00
bdrv-commit-all.c libqemustub: add stubs to be able to use qemu-char.c 2014-06-19 18:44:18 +03:00
chr-baum-init.c libqemustub: add more stubs for qemu-char 2014-06-23 17:37:59 +03:00
chr-msmouse.c libqemustub: add stubs to be able to use qemu-char.c 2014-06-19 18:44:18 +03:00
chr-testdev.c backends: Introduce chr-testdev 2014-08-06 17:53:05 +02:00
clock-warp.c
cpu-get-clock.c
cpu-get-icount.c
cpus.c
dump.c dump: Make DumpState and endian conversion routines available for arch-specific dump code 2014-06-16 13:24:36 +02:00
fd-register.c
fdset-add-fd.c
fdset-find-fd.c
fdset-get-fd.c
fdset-remove-fd.c monitor: fix use after free 2014-08-18 14:39:10 -04:00
gdbstub.c
get-fd.c
get-next-serial.c libqemustub: add stubs to be able to use qemu-char.c 2014-06-19 18:44:18 +03:00
get-vm-name.c
iothread-lock.c
is-daemonized.c Add qtest for vhost-user 2014-06-19 18:44:18 +03:00
kvm.c
machine-init-done.c libqemustub: add stubs to be able to use qemu-char.c 2014-06-19 18:44:18 +03:00
Makefile.objs block: Code motion to get rid of stubs/blockdev.c 2014-10-20 13:41:26 +02:00
migr-blocker.c
mon-is-qmp.c
mon-printf.c
mon-set-error.c
monitor-init.c libqemustub: add stubs to be able to use qemu-char.c 2014-06-19 18:44:18 +03:00
notify-event.c libqemustub: add stubs to be able to use qemu-char.c 2014-06-19 18:44:18 +03:00
pci-drive-hot-add.c
qemu-chr-open-spice.c libqemustub: add more stubs for qemu-char 2014-06-23 17:37:59 +03:00
qmp_pc_dimm_device_list.c pc-dimm: add a function to calculate VM's current RAM size 2015-03-04 13:00:04 -05:00
qtest.c stubs: Fix warning caused by missing include statement 2015-02-10 10:26:05 +03:00
reset.c
runstate-check.c blockdev: Refuse to open encrypted image unless paused 2014-03-14 16:24:42 +01:00
set-fd-handler.c
slirp.c
sysbus.c
uuid.c
vc-init.c console: move chardev declarations to sysemu/char.h 2014-06-23 10:56:20 +01:00
vm-stop.c block: asynchronously stop the VM on I/O errors 2014-06-23 16:36:13 +08:00
vmstate.c