[PATCH v2 2/2] qemu: allow configuring mem-path for ivshmem-plain device

Martin Kletzander mkletzan at redhat.com
Tue Jul 21 10:25:59 UTC 2020


On Fri, Jul 17, 2020 at 09:04:51PM +0800, Wang Xin wrote:
>The shared memory path is generated by shmem name as default,
>however, we may need to change it to avoid filename conflict
>when VM migrate to other host.
>

At which point there is no need for the name at all.  I agree that having the
'name' was an unfortunate decision, but adding more attributes does not seem
like a proper fix.  If it needs to be changed then we should allow changing the
name in the process.  You can also unplug the old name and plug in the new one,
just like you'd have to do with role='peer'.  Did I miss any other reason for
this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200721/4b09d324/attachment-0001.sig>


More information about the libvir-list mailing list