]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
add NBD server unix socket support in vm_start
authorMira Limbeck <m.limbeck@proxmox.com>
Tue, 17 Mar 2020 19:56:10 +0000 (20:56 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 18 Mar 2020 07:03:44 +0000 (08:03 +0100)
commiteb8cddb55eb79ea512813be05dd2fef581419250
tree9f8f4cdb5435a51d024c77f5d625c19fbc62d457
parente02fb12620a3be0c2539822fd7ea8f8b0c2f04e5
add NBD server unix socket support in vm_start

As the NBD server spawned by qemu can only listen on a single socket,
we're dependent on a version being passed to vm_start that indicates
which protocol can be used, TCP or Unix, by the source node.

The change in socket type (TCP to Unix) comes with a different URI. For
unix sockets it has the form: 'nbd:unix:<path/to/socket>:exportname=<device>'.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/QemuServer.pm