From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH 0/4] xl: consolidate adhoc parsers
Date: Fri, 22 Jan 2016 11:50:50 +0000 [thread overview]
Message-ID: <1453463454-4114-1-git-send-email-wei.liu2@citrix.com> (raw)
This patch series consolidates adhoc parsers in xl.
There are currently 4 types of devices:
1. block
2. netowrk
3. vtpm
4. pci
that support hotplug as well as being specified in config file.
Block and pci devices are fine because they use libxlu to parse
configuration strings.
Network and vtpms config parsers are not in a very good state, which
need to be consolidated.
Note that there is code repetition in the newly introduced parser
code. We either need to have very long macro definition or code
repetition. I chose the latter. Let me know your opinion.
Wei.
Wei Liu (4):
xl: remove unused macros
xl: wrap long lines where possible
xl: rework vif config parsing code
xl: rework vtpm config parsing code
tools/libxl/xl_cmdimpl.c | 312 +++++++++++++++++++++++++++++++----------------
1 file changed, 207 insertions(+), 105 deletions(-)
--
2.1.4
next reply other threads:[~2016-01-22 11:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 11:50 Wei Liu [this message]
2016-01-22 11:50 ` [PATCH 1/4] xl: remove unused macros Wei Liu
2016-01-25 12:17 ` Ian Campbell
2016-01-22 11:50 ` [PATCH 2/4] xl: wrap long lines where possible Wei Liu
2016-01-25 12:17 ` Ian Campbell
2016-01-22 11:50 ` [PATCH 3/4] xl: rework vif config parsing code Wei Liu
2016-01-22 11:50 ` [PATCH 4/4] xl: rework vtpm " Wei Liu
2016-01-25 12:25 ` [PATCH 0/4] xl: consolidate adhoc parsers Ian Campbell
2016-02-16 22:09 ` Jim Fehlig
2016-02-16 23:20 ` Wei Liu
2016-02-17 10:01 ` Ian Campbell
2016-02-17 12:00 ` Wei 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=1453463454-4114-1-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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).