[question]qemu: any plan to support ivshmem-plain migration?

Hi, Martin Ivshmem-plain device support property role with 'master'(master=on) or 'peer'(master=off, default mode), which controls to copy the shared memory on migration to the destination host or not. https://git.qemu.org/?p=qemu.git;a=blob;f=docs/system/ivshmem.rst;h=b03a48af... And libvirt does not support to configure 'role' yet, see msg https://www.redhat.com/archives/libvir-list/2016-August/msg00591.html Qemu use 'master=off' as ivshmem-plain default property, the guest create by libvirt api can't be migrated now. Do you have an plan to support the property 'role' and ivshmem-palin migration? Regards, Xin

On Mon, Jul 06, 2020 at 01:14:04PM +0000, Wangxin (Alexander, Cloud Infrastructure Service Product Dept.) wrote:
Hi, Martin
Ivshmem-plain device support property role with 'master'(master=on) or 'peer'(master=off, default mode), which controls to copy the shared memory on migration to the destination host or not. https://git.qemu.org/?p=qemu.git;a=blob;f=docs/system/ivshmem.rst;h=b03a48af...
And libvirt does not support to configure 'role' yet, see msg https://www.redhat.com/archives/libvir-list/2016-August/msg00591.html
Qemu use 'master=off' as ivshmem-plain default property, the guest create by libvirt api can't be migrated now.
Do you have an plan to support the property 'role' and ivshmem-palin migration?
I would assume no one is actively working on it since it is 4 years since that quoted message. If you wish to try to implement it, we'll review any patches. 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 :|

-----Original Message----- From: Daniel P. Berrangé [mailto:berrange@redhat.com] Sent: Monday, July 6, 2020 9:48 PM To: Wangxin (Alexander, Cloud Infrastructure Service Product Dept.) <wangxinxin.wang@huawei.com> Cc: libvir-list@redhat.com; mkletzan@redhat.com; Huangweidong (C) <weidong.huang@huawei.com> Subject: Re: [question]qemu: any plan to support ivshmem-plain migration?
On Mon, Jul 06, 2020 at 01:14:04PM +0000, Wangxin (Alexander, Cloud Infrastructure Service Product Dept.) wrote:
Hi, Martin
Ivshmem-plain device support property role with 'master'(master=on) or 'peer'(master=off, default mode), which controls to copy the shared memory on migration to the destination host or not. https://git.qemu.org/?p=qemu.git;a=blob;f=docs/system/ivshmem.rst;h=b0 3a48afa3ae7258bbe43490180fc5732b1f6c8c;hb=HEAD
And libvirt does not support to configure 'role' yet, see msg https://www.redhat.com/archives/libvir-list/2016-August/msg00591.html
Qemu use 'master=off' as ivshmem-plain default property, the guest create by libvirt api can't be migrated now.
Do you have an plan to support the property 'role' and ivshmem-palin migration?
I would assume no one is actively working on it since it is 4 years since that quoted message. If you wish to try to implement it, we'll review any patches.
Sure, I would like to do it.
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 :|
participants (2)
-
Daniel P. Berrangé
-
Wangxin (Alexander, Cloud Infrastructure Service Product Dept.)