[Libguestfs] FYI: nbdkit / libnbd --vsock now has a regression test

Richard W.M. Jones rjones at redhat.com
Mon Feb 10 13:41:03 UTC 2020


On Mon, Feb 10, 2020 at 02:05:27PM +0100, Stefano Garzarella wrote:
> On Mon, Feb 10, 2020 at 12:45:47PM +0000, Richard W.M. Jones wrote:
> > Since Linux >= 5.6 supports vsock in loopback mode, I was able to add
> > a regression test for this feature to nbdkit / libnbd, and I can
> > report that it appears to work fine.
> > 
> > https://github.com/libguestfs/nbdkit/commit/5e4745641bb4676f607fdb3f8750dbf6e9516877
> > 
> 
> I'm happy that it works and it is useful :-)
> Thanks again for the suggestion!
> 
> Just a note, Linux >= 5.6 supports a new special cid (VMADDR_CID_LOCAL = 1)
> to use the loopback mode in any condition (host, guest, nested guest).

Good idea - fixed in the following commit.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list