On Tue, Jan 03, 2023 at 09:08:27PM +0800, Jiang Jiacheng wrote: > From: zhengchuan <zhengchuan@xxxxxxxxxx> > > Firstly, we need to get multifd pids, add > virDomainMigrateGetMigrationMultiFdPids() for migration pin. > > Signed-off-by:zhengchuan<zhengchuan@xxxxxxxxxx> > --- > include/libvirt/libvirt-domain.h | 2 ++ > src/driver-hypervisor.h | 5 ++++ > src/libvirt-domain.c | 40 ++++++++++++++++++++++++++++++++ > src/libvirt_public.syms | 1 + > src/qemu/qemu_domain.c | 2 ++ > src/qemu/qemu_domain.h | 2 ++ > src/qemu/qemu_driver.c | 33 ++++++++++++++++++++++++++ > src/remote/remote_driver.c | 1 + > src/remote/remote_protocol.x | 17 +++++++++++++- > src/remote_protocol-structs | 15 ++++++++++++ > 10 files changed, 117 insertions(+), 1 deletion(-) > > diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h > index 76744eb0f1..cca35c1be1 100644 > --- a/include/libvirt/libvirt-domain.h > +++ b/include/libvirt/libvirt-domain.h > @@ -6474,4 +6474,6 @@ int virDomainStartDirtyRateCalc(virDomainPtr domain, > char *virDomainMigrateGetMigrationPids(virDomainPtr domain, > unsigned int flags); > > +char *virDomainMigrateGetMigrationMultiFdPids(virDomainPtr domain, > + unsigned int flags); > #endif /* LIBVIRT_DOMAIN_H */ Again, we don't want to be exposing PIDs in our API, With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|