On Fri, Oct 17, 2025 at 11:45:09 +0200, Claudio Fontana wrote:
> On 10/16/25 19:44, Peter Krempa via Devel wrote:
> > On Thu, Oct 16, 2025 at 14:43:56 +0000, Rogério Vinhal Nunes via Devel 
> > wrote:
> >> Hello,
> >>
> >> I’m looking into the libvirt hooks that are available to make use of 
> >> during a live migration, but there's only hooks on migration begin and 
> >> migration end. On qemu directly I’m able to use pause-before-switchover 
> >> migration capability to run a custom operation just before it moves to the 
> >> destination, but within libvirt it seems that while this is leveraged 
> >> internally, it’s not currently exposed to the client in a way I can use.
> >>
> >> Does anyone have any suggestions on how I could expose this to the client 
> >> in a generic and sensible way?
> > 
> > Yes this is currently not available.
> 
> I would also be interested in this.
> 
> > 
> > Can you elaborate what you'd want to use it for? E.g. what we don't
> > support that could be solved by this.
> 
> There is internal state I need to update in the platform that is much better 
> done just before the switchover.


> In addition to that, currently the way libvirt handles migration stats from 
> QEMU is not satisfactory for me, so I need to query qemu directly.

Could you be more specific in both points?

Reply via email to