summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-04-11 19:53:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-05-15 11:56:53 +0200
commit583f34c493fc5b91aa05a8987023244a72f8efae (patch)
tree509ab8b8508a8470e6d32f89e9c3bf0b3852c0d3 /vl.c
parent85fad7e11508fd581fdbb14dd6a6555a9e0c8d70 (diff)
downloadqemu-583f34c493fc5b91aa05a8987023244a72f8efae.zip
Declare -realtime as deprecated
The old -realtime mlock=on|off parameter does exactly the same as the new -overcommit mem-lock=on|off parameter. Additionally, "-realtime" does not activate any additional "realtime" capabilities as the name might indicate. We should avoid to confuse the users this way, so let's deprecate the old -realtime option. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20190411175345.19414-1-thuth@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index b6709514c1..2e44f7d2f5 100644
--- a/vl.c
+++ b/vl.c
@@ -3927,6 +3927,8 @@ int main(int argc, char **argv, char **envp)
}
break;
case QEMU_OPTION_realtime:
+ warn_report("'-realtime mlock=...' is deprecated, please use "
+ "'-overcommit mem-lock=...' instead");
opts = qemu_opts_parse_noisily(qemu_find_opts("realtime"),
optarg, false);
if (!opts) {