[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] ramblock: add hmp command "info ramblock"
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v2 0/2] ramblock: add hmp command "info ramblock" |
Date: |
Wed, 26 Apr 2017 19:13:10 +0800 |
v2:
- replace "lx" with "PRIx64" in three places
Sometimes I would like to know ramblock info for a VM. This command
would help. It provides a way to dump ramblock info. Currently the
list is by default sorted by size, though I think it's good enough.
Please review, thanks.
Peter Xu (2):
ramblock: add RAMBLOCK_FOREACH()
ramblock: add new hmp command "info ramblock"
exec.c | 57 ++++++++++++++++++++++++++++++++++++++++----------
hmp-commands-info.hx | 14 +++++++++++++
hmp.c | 6 ++++++
hmp.h | 1 +
include/exec/ramlist.h | 6 ++++++
migration/ram.c | 15 ++++++-------
6 files changed, 81 insertions(+), 18 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v2 0/2] ramblock: add hmp command "info ramblock",
Peter Xu <=