* [Qemu-devel] [PATCH v2] Issue a deprecation warning if the user specifies the "-hdachs" option.
@ 2017-04-26 7:16 Thomas Huth
0 siblings, 0 replies; only message in thread
From: Thomas Huth @ 2017-04-26 7:16 UTC (permalink / raw)
To: qemu-devel, Kevin Wolf, Max Reitz; +Cc: qemu-block, Eric Blake
If the user needs to specify the disk geometry, the corresponding
parameters of the "-drive" option should be used instead. "-hdachs"
is considered as deprecated and might be removed soon.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
v2: Removed the trailing dot from the string as suggested by Eric
vl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vl.c b/vl.c
index 0b4ed52..478cfdd 100644
--- a/vl.c
+++ b/vl.c
@@ -3230,6 +3230,8 @@ int main(int argc, char **argv, char **envp)
}
}
}
+ error_report("'-hdachs' is deprecated, please use '-drive"
+ " ...,cyls=c,heads=h,secs=s,trans=t' instead");
break;
case QEMU_OPTION_numa:
opts = qemu_opts_parse_noisily(qemu_find_opts("numa"),
--
1.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-26 7:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-26 7:16 [Qemu-devel] [PATCH v2] Issue a deprecation warning if the user specifies the "-hdachs" option Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).