[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option
From: |
Richard W.M. Jones |
Subject: |
Re: [Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option |
Date: |
Sat, 15 Dec 2018 16:02:47 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Dec 15, 2018 at 07:53:22AM -0600, Eric Blake wrote:
> @@ -557,13 +660,14 @@ int main(int argc, char **argv)
> Error *local_err = NULL;
> BlockdevDetectZeroesOptions detect_zeroes =
> BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF;
> QDict *options = NULL;
> - const char *export_name = ""; /* Default export name */
> + const char *export_name = NULL;
You might want to comment that export_name is now a tri-state value,
with NULL meaning that it's not set by the user.
Nevertheless the patch looks good, and the addition of the example
(including host name setting) resolves my previous problem with the
new functionality. Therefore:
Reviewed-by: Richard W.M. Jones <address@hidden>
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
- [Qemu-devel] [PATCH v2 16/22] nbd/client: Split handshake into two functions, (continued)
- [Qemu-devel] [PATCH v2 16/22] nbd/client: Split handshake into two functions, Eric Blake, 2018/12/15
- [Qemu-devel] [PATCH v2 17/22] nbd/client: Pull out oldstyle size determination, Eric Blake, 2018/12/15
- [Qemu-devel] [PATCH v2 19/22] nbd/client: Add meta contexts to nbd_receive_export_list(), Eric Blake, 2018/12/15
- [Qemu-devel] [PATCH v2 18/22] nbd/client: Add nbd_receive_export_list(), Eric Blake, 2018/12/15
- [Qemu-devel] [PATCH v2 21/22] nbd/client: Work around 3.0 bug for listing meta contexts, Eric Blake, 2018/12/15
- [Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option, Eric Blake, 2018/12/15
- Re: [Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option,
Richard W.M. Jones <=
- [Qemu-devel] [PATCH v2 22/22] iotests: Enhance 223, 233 to cover 'qemu-nbd --list', Eric Blake, 2018/12/15