mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Issue a deprecation warning if the user specifies the "-hdachs" option.
If the user needs to specify the disk geometry, the corresponding parameters of the "-device ide-hd" option should be used instead. "-hdachs" is considered as deprecated and might be removed soon. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
03a0aa37d2
commit
fea41826db
2 changed files with 4 additions and 2 deletions
2
vl.c
2
vl.c
|
@ -3231,6 +3231,8 @@ int main(int argc, char **argv, char **envp)
|
|||
}
|
||||
}
|
||||
}
|
||||
error_report("'-hdachs' is deprecated, please use '-device"
|
||||
" ide-hd,cyls=c,heads=h,secs=s,...' instead");
|
||||
break;
|
||||
case QEMU_OPTION_numa:
|
||||
opts = qemu_opts_parse_noisily(qemu_find_opts("numa"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue