Re: [libvirt] [PATCH] qemu: Make sure shmem memory is shared

2016-11-10 Thread lhuang
I have test this patch, and it works well. After this patch, Libvirt can generate share=yes in ivshmem-plain memory backend command line: # ps aux|grep r7 ... -object memory-backend-file,id=shmmem-shmem0,mem-path=/dev/shm/my_shmem1,size=4194304,share=yes -device

Re: [libvirt] [PATCH] qemu: Make sure shmem memory is shared

2016-11-10 Thread Peter Krempa
On Thu, Nov 10, 2016 at 08:32:33 +0100, Martin Kletzander wrote: > Even though using /dev/shm/asdf as the backend, we still need to make > the mapping shared. The original patch forgot to add that parameter. > > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1392031 > > Signed-off-by:

[libvirt] [PATCH] qemu: Make sure shmem memory is shared

2016-11-09 Thread Martin Kletzander
Even though using /dev/shm/asdf as the backend, we still need to make the mapping shared. The original patch forgot to add that parameter. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1392031 Signed-off-by: Martin Kletzander --- src/qemu/qemu_command.c