mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
add dirty ring command
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/sockets.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "ui/qemu-spice.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "options.h"
|
||||
@ -235,6 +236,10 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict)
|
||||
info->vfio->transferred >> 10);
|
||||
}
|
||||
|
||||
monitor_printf(mon, "kvm_dirty_ring_enabled: %s\n",
|
||||
kvm_dirty_ring_enabled() ? "on" : "off");
|
||||
|
||||
|
||||
qapi_free_MigrationInfo(info);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user