From: Paolo Bonzini <pbonzini@redhat.com>
To: Colin Lord <clord@redhat.com>, qemu-devel@nongnu.org
Cc: kwolf@redhat.com, markmb@redhat.com, qemu-block@nongnu.org,
mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/2] blockdev: Add dynamic generation of module_block.h
Date: Thu, 16 Jun 2016 00:48:31 +0200 [thread overview]
Message-ID: <bd835d6f-5cd7-22ba-8335-64a128a3123b@redhat.com> (raw)
In-Reply-To: <1466016055-31351-2-git-send-email-clord@redhat.com>
On 15/06/2016 20:40, Colin Lord wrote:
> +def add_module(fhader, library, format_name, protocol_name,
fhader looks like a typo.
Paolo
> + probe, probe_device):
> + lines = []
> + lines.append('.library_name = "' + library + '",')
> + if format_name != "":
> + lines.append('.format_name = "' + format_name + '",')
> + if protocol_name != "":
> + lines.append('.protocol_name = "' + protocol_name + '",')
> + if probe:
> + lines.append('.has_probe = true,')
> + if probe_device:
> + lines.append('.has_probe_device = true,')
> +
> + text = '\n\t'.join(lines)
> + fheader.write('\n\t{\n\t' + text + '\n\t},')
next prev parent reply other threads:[~2016-06-15 22:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-15 18:40 [Qemu-devel] [PATCH 0/2] Dynamic module loading for block drivers Colin Lord
2016-06-15 18:40 ` [Qemu-devel] [PATCH 1/2] blockdev: Add dynamic generation of module_block.h Colin Lord
2016-06-15 22:48 ` Paolo Bonzini [this message]
2016-06-16 4:59 ` Fam Zheng
2016-06-16 13:57 ` Colin Lord
2016-06-17 9:57 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2016-06-15 18:40 ` [Qemu-devel] [PATCH 2/2] blockdev: Add dynamic module loading for block drivers Colin Lord
2016-06-15 22:50 ` Paolo Bonzini
2016-06-16 14:00 ` Colin Lord
2016-06-16 14:05 ` Paolo Bonzini
2016-06-16 14:10 ` Colin Lord
2016-06-16 14:12 ` Paolo Bonzini
2016-06-17 9:54 ` [Qemu-devel] [Qemu-block] [PATCH 0/2] Dynamic " Stefan Hajnoczi
2016-06-20 15:32 ` Colin Lord
2016-06-21 9:32 ` Stefan Hajnoczi
2016-06-21 10:01 ` [Qemu-devel] " Paolo Bonzini
2016-06-21 15:42 ` [Qemu-devel] [Qemu-block] " Colin Lord
2016-06-21 16:59 ` [Qemu-devel] " Paolo Bonzini
2016-06-22 10:09 ` Stefan Hajnoczi
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=bd835d6f-5cd7-22ba-8335-64a128a3123b@redhat.com \
--to=pbonzini@redhat.com \
--cc=clord@redhat.com \
--cc=kwolf@redhat.com \
--cc=markmb@redhat.com \
--cc=mreitz@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).