aboutsummaryrefslogtreecommitdiff
path: root/migration/migration-hmp-cmds.c
diff options
context:
space:
mode:
authorHyman Huang(黄勇) <yong.huang@smartx.com>2022-11-18 10:08:54 +0800
committerJuan Quintela <quintela@redhat.com>2023-07-26 10:55:56 +0200
commit140e5a7632beb2adbc72066ca2d7146a7bdb2ec5 (patch)
treef89652eb08f0795677b9ebae6755e8428f16084a /migration/migration-hmp-cmds.c
parent01ec0f3a9211cf4af88706188865b15ad53f7d76 (diff)
softmmu/dirtylimit: Add parameter check for hmp "set_vcpu_dirty_limit"
dirty_rate paraemter of hmp command "set_vcpu_dirty_limit" is invalid if less than 0, so add parameter check for it. Note that this patch also delete the unsolicited help message and clean up the code. Signed-off-by: Hyman Huang(黄勇) <yong.huang@smartx.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <168618975839.6361.17407633874747688653-1@git.sr.ht> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions