From: Thomas Huth <thuth@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel@nongnu.org, Kevin Wolf <kwolf@redhat.com>,
Max Reitz <mreitz@redhat.com>
Cc: qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Issue a deprecation warning if the user specifies the "-hdachs" option.
Date: Thu, 27 Apr 2017 05:09:18 +0200 [thread overview]
Message-ID: <d835d396-bff8-ec64-acf7-c751680ae1a0@redhat.com> (raw)
In-Reply-To: <f523e9f6-4e05-38a2-413a-9891033c9466@redhat.com>
On 26.04.2017 15:44, Paolo Bonzini wrote:
>
>
> On 25/04/2017 10:08, Thomas Huth wrote:
>> 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.
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> vl.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/vl.c b/vl.c
>> index 0b4ed52..0980213 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"),
>>
>
> Not even this, which should also be deprecated; please suggest using
> "-device ide-hd" instead.
D'oh, you're right, of course ... I'll send a v3 ...
Thomas
prev parent reply other threads:[~2017-04-27 3:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-25 8:08 [Qemu-devel] [PATCH] Issue a deprecation warning if the user specifies the "-hdachs" option Thomas Huth
2017-04-25 13:20 ` Eric Blake
2017-04-26 13:44 ` Paolo Bonzini
2017-04-27 3:09 ` Thomas Huth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d835d396-bff8-ec64-acf7-c751680ae1a0@redhat.com \
--to=thuth@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).