Stefano Garzarella
2020-Feb-10 13:05 UTC
Re: [Libguestfs] FYI: nbdkit / libnbd --vsock now has a regression test
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). Cheers, Stefano
Richard W.M. Jones
2020-Feb-10 13:41 UTC
Re: [Libguestfs] FYI: nbdkit / libnbd --vsock now has a regression test
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/
Seemingly Similar Threads
- Re: FYI: nbdkit / libnbd --vsock now has a regression test
- FYI: nbdkit / libnbd --vsock now has a regression test
- [RFC nbdkit PATCH] server: Allow --run with --vsock
- Re: [PATCH libnbd 2/2] api: Add support for AF_VSOCK.
- [PATCH net-next 0/6] vsock: add local transport support