From: Stefan Hajnoczi <stefanha@gmail.com>
To: Leandro Dorileo <l@dorileo.org>
Cc: Chunyan Liu <cyliu@suse.com>, stefanha@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v23 00/32] replace QEMUOptionParameter with QemuOpts
Date: Wed, 26 Mar 2014 16:18:02 +0100 [thread overview]
Message-ID: <20140326151802.GA26016@stefanha-thinkpad.muc.redhat.com> (raw)
In-Reply-To: <20140325180940.GB29429@dorilex>
On Tue, Mar 25, 2014 at 06:09:40PM +0000, Leandro Dorileo wrote:
> On Fri, Mar 21, 2014 at 06:12:11PM +0800, Chunyan Liu wrote:
> > This patch series is to replace QEMUOptionParameter with QemuOpts, so that only
> > one Qemu Option structure is kept in QEMU code.
> >
> > ---
> > Changes to v21:
> > * Move find_desc_by_name and qemu_opt_del functions ahead in separate
> > patches before later calling, so to avoid static declaration.
> > * Remove some changes that not quite necessary for this patch series:
> > improve qemu_opt_set, improve assert() in qemu_opt_get,
> > NULL check in qemu_opt_get and qemu_opt_find.
> > * improve convert functions and qemu_opts_append() functions
> > * improve block layer changes to support both struct
> > * other fixes according to Eric and Stefan's comments.
> >
> > Not added:
> > * QemuOpts test suite what Eric suggests, not included in this version, since:
> > Currently, things that changes QemuOpts original syntax only include:
> > qemu_opts_del: NULL input check.
> > opt->name, opt->str: from const char * to char *
> > Generally, no big change to its original usage.
> >
> > Things that are newly added to QemuOpts are:
> > qemu_opt_append function
> > qemu_opt_get_*_del functions
> > I think we could add tests for these functions later based on
> > Leandro Dorileo's test suite patches:
> > https://lists.gnu.org/archive/html/qemu-devel/2014-03/msg03282.html
> >
> >
> > Chunyan Liu (32):
> > move find_desc_by_name ahead for later calling
> > add def_value_str to QemuOptDesc
> > qapi: output def_value_str when query command line options
> > change opt->name and opt->str from (const char *) to (char *)
> > move qemu_opt_del ahead for later calling
> > add qemu_opt_get_*_del functions for replace work
> > add qemu_opts_print_help to replace print_option_help
> > add convert functions between QEMUOptionParameter to QemuOpts
> > add qemu_opts_append to repalce append_option_parameters
> > check NULL input for qemu_opts_del
> > qemu_opts_print: change fprintf stderr to printf
> > qcow2.c: remove 'assigned' check in amend
> > change block layer to support both QemuOpts and QEMUOptionParamter
> > vvfat.c: handle cross_driver's create_options and create_opts
> > cow.c: replace QEMUOptionParameter with QemuOpts
> > gluster.c: replace QEMUOptionParameter with QemuOpts
> > iscsi.c: replace QEMUOptionParameter with QemuOpts
> > qcow.c: replace QEMUOptionParameter with QemuOpts
> > qcow2.c: replace QEMUOptionParameter with QemuOpts
> > qed.c: replace QEMUOptionParameter with QemuOpts
> > raw-posix.c: replace QEMUOptionParameter with QemuOpts
> > raw-win32.c: replace QEMUOptionParameter with QemuOpts
> > raw_bsd.c: replace QEMUOptionParameter with QemuOpts
> > rbd.c: replace QEMUOptionParameter with QemuOpts
> > sheepdog.c: replace QEMUOptionParameter with QemuOpts
> > ssh.c: replace QEMUOptionParameter with QemuOpts
> > vdi.c: replace QEMUOptionParameter with QemuOpts
> > vhdx.c: replace QEMUOptionParameter with QemuOpts
> > vmdk.c: replace QEMUOptionParameter with QemuOpts
> > vpc.c: replace QEMUOptionParameter with QemuOpts
> > cleanup QEMUOptionParameter
> > cleanup tmp 'mallocd' member from QemuOptsList
>
>
> The series is still breaking the build and the io tests.
>
> I picked some patches in the series to see if it was
> supposed to work, I could not build without fixing some
> stuffs (like I commented on [31/32]).
>
> After fixing the build stuffs I could not successfuly run
> the io tests.
>
> Testing with all your patches applied I could also not run
> the io tests, they all failed.
Thanks for pointing this out Leandro.
Chunyan, git tip for running the build and tests for every commit in the
series:
git rebase -x 'make && make check && cd tests/qemu-iotests && ./check' -i master
It is important that the series is bisectable and builds at every point.
Stefan
next prev parent reply other threads:[~2014-03-26 15:18 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 10:12 [Qemu-devel] [PATCH v23 00/32] replace QEMUOptionParameter with QemuOpts Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 01/32] move find_desc_by_name ahead for later calling Chunyan Liu
2014-03-21 23:16 ` Eric Blake
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 02/32] add def_value_str to QemuOptDesc Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 03/32] qapi: output def_value_str when query command line options Chunyan Liu
2014-03-21 23:27 ` Eric Blake
2014-03-24 3:18 ` Chun Yan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 04/32] change opt->name and opt->str from (const char *) to (char *) Chunyan Liu
2014-03-25 19:00 ` Leandro Dorileo
2014-03-25 19:23 ` Eric Blake
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 05/32] move qemu_opt_del ahead for later calling Chunyan Liu
2014-03-25 19:29 ` Eric Blake
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 06/32] add qemu_opt_get_*_del functions for replace work Chunyan Liu
2014-03-25 20:33 ` Eric Blake
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 07/32] add qemu_opts_print_help to replace print_option_help Chunyan Liu
2014-03-25 19:07 ` Leandro Dorileo
2014-03-25 20:43 ` Eric Blake
2014-03-26 2:58 ` Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 08/32] add convert functions between QEMUOptionParameter to QemuOpts Chunyan Liu
2014-03-25 21:35 ` Eric Blake
2014-03-26 3:26 ` Chunyan Liu
2014-03-26 6:30 ` Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 09/32] add qemu_opts_append to repalce append_option_parameters Chunyan Liu
2014-03-25 19:13 ` Leandro Dorileo
2014-03-25 21:40 ` Eric Blake
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 10/32] check NULL input for qemu_opts_del Chunyan Liu
2014-03-25 21:41 ` Eric Blake
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 11/32] qemu_opts_print: change fprintf stderr to printf Chunyan Liu
2014-03-25 20:10 ` Leandro Dorileo
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 12/32] qcow2.c: remove 'assigned' check in amend Chunyan Liu
2014-03-25 19:25 ` Leandro Dorileo
2014-03-26 7:37 ` Chunyan Liu
2014-03-27 7:27 ` Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 13/32] change block layer to support both QemuOpts and QEMUOptionParamter Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 14/32] vvfat.c: handle cross_driver's create_options and create_opts Chunyan Liu
2014-03-25 19:17 ` Leandro Dorileo
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 15/32] cow.c: replace QEMUOptionParameter with QemuOpts Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 16/32] gluster.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 17/32] iscsi.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 18/32] qcow.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 19/32] qcow2.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 20/32] qed.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 21/32] raw-posix.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 22/32] raw-win32.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 23/32] raw_bsd.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 24/32] rbd.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 25/32] sheepdog.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 26/32] ssh.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 27/32] vdi.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 28/32] vhdx.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 29/32] vmdk.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 30/32] vpc.c: " Chunyan Liu
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 31/32] cleanup QEMUOptionParameter Chunyan Liu
2014-03-25 18:02 ` Leandro Dorileo
2014-03-21 10:12 ` [Qemu-devel] [PATCH v23 32/32] cleanup tmp 'mallocd' member from QemuOptsList Chunyan Liu
2014-03-25 18:09 ` [Qemu-devel] [PATCH v23 00/32] replace QEMUOptionParameter with QemuOpts Leandro Dorileo
2014-03-25 20:22 ` Leandro Dorileo
2014-03-26 15:18 ` Stefan Hajnoczi [this message]
2014-03-27 7:20 ` Chunyan Liu
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=20140326151802.GA26016@stefanha-thinkpad.muc.redhat.com \
--to=stefanha@gmail.com \
--cc=cyliu@suse.com \
--cc=l@dorileo.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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).