mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
qapi: introduce x-query-ramblock QMP command
This is a counterpart to the HMP "info ramblock" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is rewritten to call the QMP command. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
8dbbca5c05
commit
ca411b7c8a
6 changed files with 33 additions and 16 deletions
|
@ -80,6 +80,6 @@ void ram_block_notify_add(void *host, size_t size, size_t max_size);
|
|||
void ram_block_notify_remove(void *host, size_t size, size_t max_size);
|
||||
void ram_block_notify_resize(void *host, size_t old_size, size_t new_size);
|
||||
|
||||
void ram_block_dump(Monitor *mon);
|
||||
GString *ram_block_format(void);
|
||||
|
||||
#endif /* RAMLIST_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue