[libvirt] [PATCH] util: storage: Fix parsing of 'exportname' from legacy NBD strings
Peter Krempa
pkrempa at redhat.com
Wed Aug 14 16:19:04 UTC 2019
On Wed, Jul 31, 2019 at 17:22:48 +0200, Peter Krempa wrote:
> If the nbd export name contains a colon, our parser would not parse it
> properly as we split the string by colons. Modify the code to look up
> the exportname and copy any trailing characters as the export name is
> supposed to be at the end of the string.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1733044
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/util/virstoragefile.c | 6 ++++--
> tests/virstoragetest.c | 8 ++++++++
> 2 files changed, 12 insertions(+), 2 deletions(-)
Ping?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190814/009c25a9/attachment-0001.sig>
More information about the libvir-list
mailing list