mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
85fad7e115
commit
583f34c493
2 changed files with 7 additions and 0 deletions
2
vl.c
2
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue