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

Mark Cave-Ayland posted 2 patches 3 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20260417144514.372827-1-mark.caveayland@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 v3 0/2] allow migrations with the ext transport
Posted by Mark Cave-Ayland 3 weeks, 5 days ago
[MCA: I've now adopted these patches from Sergey]

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.

v2 -> v3:
- fix passing of extArgs

v1 -> v2:
- new way of passing argv


Sergey Dyasli (2):
  remote: allow passing argv to the ext transport
  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.43.0
Re: [PATCH v3 0/2] allow migrations with the ext transport
Posted by Mark Cave-Ayland 5 days, 9 hours ago
On 17/04/2026 15:45, Mark Cave-Ayland wrote:

> [MCA: I've now adopted these patches from Sergey]
> 
> 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.
> 
> v2 -> v3:
> - fix passing of extArgs
> 
> v1 -> v2:
> - new way of passing argv
> 
> 
> Sergey Dyasli (2):
>    remote: allow passing argv to the ext transport
>    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(-)

Ping again?


ATB,

Mark.