aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-04-27 07:20:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-05-05 12:09:59 +0200
commitaab9e87e7a5d280bfbffaa4ea6e296c515c8dac2 (patch)
tree8f5d3d8b1dd53782d71799524dab7288b6896657 /vl.c
parent49e00a18708e27c815828d9440d5c9300d19547c (diff)
downloadqemu-aab9e87e7a5d280bfbffaa4ea6e296c515c8dac2.zip
qemu-aab9e87e7a5d280bfbffaa4ea6e296c515c8dac2.tar.gz
qemu-aab9e87e7a5d280bfbffaa4ea6e296c515c8dac2.tar.bz2
vl: deprecate 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> Message-Id: <1493270454-1448-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@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 f46e070..42d4bce 100644
--- a/vl.c
+++ b/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"),