[PATCH 0/2] allow migrations with the ext transport

Sergey Dyasli posted 2 patches 2 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20251010085829.2022046-1-sergey.dyasli@nutanix.com
src/libvirt-domain.c       |  8 +++++---
src/remote/remote_driver.c | 30 ++++++++++++++++++++++++++----
src/util/viruri.c          | 32 ++++++++++++++++++++++++++++++++
src/util/viruri.h          |  2 ++
4 files changed, 65 insertions(+), 7 deletions(-)
[PATCH 0/2] allow migrations with the ext transport
Posted by Sergey Dyasli 2 weeks, 1 day ago
Hello,

I have a use case for live-migration where the socket of the
destination libvirtd is proxied by an mTLS WebSocket proxy.

Since there is no WebSocket support in Libvirt, I've decided to use the
existing ext transport and point it to a proxy binary on the source host
of live-migration.

While doing that, I've discovered a couple of roadblocks:

1. There is no way of passing cmdline arguments to the ext program
2. Live-migrations using ext transport fail localhost checks

This short series addresses those limitations.

Sergey Dyasli (2):
  remote: allow passing cmd arguments to REMOTE_DRIVER_TRANSPORT_EXT
  remote: allow migrations with the ext transport

 src/libvirt-domain.c       |  8 +++++---
 src/remote/remote_driver.c | 30 ++++++++++++++++++++++++++----
 src/util/viruri.c          | 32 ++++++++++++++++++++++++++++++++
 src/util/viruri.h          |  2 ++
 4 files changed, 65 insertions(+), 7 deletions(-)

-- 
2.39.3