Skip to contentSkip to conversation

NBD device: Separate out parsing configuration and opening sockets.

PATCH Kevin Wolf 1 participant 1 message Apr 6, 2011 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Kevin Wolf

author
#2 lore raw

Am 22.02.2011 16:44, schrieb Nick Thomas:

Quoted 7 lines

We also change the way the file parameter is parsed so IPv6 IP addresses can be used, e.g.: "drive=nbd:[::1]:5000"

---
 block/nbd.c |  157 ++++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 102 insertions(+), 55 deletions(-)

Sorry for the long delay. I have applied patches 1-4 to the block branch now.

I think this one leaks s->export_name and s->host_spec, so please post a follow-up patch that fixes this on top of this patch.

Patch 5 looks a bit harder to review, I'll try to get to soon anyway. One thing that you already can fix before the real review is coding style. For example, I see a lot of trailing whitespace in patch 5.

Kevin