From: Luiz Capitulino <lcapitulino@redhat.com>
To: Dong Xu Wang <wdongxu@linux.vnet.ibm.com>
Cc: kwolf@redhat.com, Markus Armbruster <armbru@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH RFC] remove QEMUOptionParameter
Date: Tue, 11 Sep 2012 09:10:23 -0300 [thread overview]
Message-ID: <20120911091023.04506977@doriath.home> (raw)
In-Reply-To: <CAGrFBsguek5zj_VOL16MF-7zv5shWnqYvfaK-0vLqQBHw19DVw@mail.gmail.com>
On Tue, 11 Sep 2012 09:57:12 +0800
Dong Xu Wang <wdongxu@linux.vnet.ibm.com> wrote:
> >> >
> >> > - set_option_parameter_int(options, BLOCK_OPT_SIZE, total_size);
> >> > - set_option_parameter(options, BLOCK_OPT_BACKING_FILE, backing_filename);
> >> > + snprintf(buf_total_size, sizeof(buf_total_size),
> >> > + "%" PRId64, total_size);
> >> > + qemu_opt_set(options, BLOCK_OPT_SIZE, buf_total_size);
> >>
> >> This is a bit awkward.
> >>
> >> We could have qemu_opt_set_number(), like qemu_opt_set_bool(). Except
> >> qemu_opt_set_bool() has issues. Luiz's fix is discussed here:
> >> http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg02716.html
> >>
> >> Luiz, do you plan to respin?
> >
> > I'm not going to respin the whole series, but the patch you mention
> > and the following two seem worth it to have on master.
> >
> > Dong, do you want me to respin or can you add them to this series?
>
> I can add them to this series, thank you Luiz.
I just don't remember if there's anything to be addressed, so it's a good
idea to re-read the thread.
next prev parent reply other threads:[~2012-09-11 12:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 3:13 [Qemu-devel] [PATCH RFC] remove QEMUOptionParameter Dong Xu Wang
2012-09-07 8:42 ` Markus Armbruster
2012-09-07 11:42 ` Kevin Wolf
2012-09-10 2:10 ` Dong Xu Wang
2012-09-10 17:38 ` Luiz Capitulino
2012-09-11 1:57 ` Dong Xu Wang
2012-09-11 12:10 ` Luiz Capitulino [this message]
2012-09-20 3:10 ` Dong Xu Wang
2012-09-20 9:16 ` Markus Armbruster
2012-09-20 12:36 ` Luiz Capitulino
[not found] <505BD440.9010302@vnet.linux.ibm.com>
2012-09-21 2:47 ` Dong Xu Wang
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=20120911091023.04506977@doriath.home \
--to=lcapitulino@redhat.com \
--cc=armbru@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wdongxu@linux.vnet.ibm.com \
/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).