* [PATCH v2] remote/memory: Replace share parameter with ram_flags
@ 2021-07-08 11:51 Yang Zhong
2021-07-08 12:30 ` Philippe Mathieu-Daudé
2021-07-08 19:59 ` Pankaj Gupta
0 siblings, 2 replies; 3+ messages in thread
From: Yang Zhong @ 2021-07-08 11:51 UTC (permalink / raw)
To: qemu-devel; +Cc: yang.zhong, pbonzini, philmd, peterx, david
Fixes: d5015b801340 ("softmmu/memory: Pass ram_flags to
qemu_ram_alloc_from_fd()")
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
---
hw/remote/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/remote/memory.c b/hw/remote/memory.c
index 472ed2a272..6e21ab1a45 100644
--- a/hw/remote/memory.c
+++ b/hw/remote/memory.c
@@ -46,7 +46,7 @@ void remote_sysmem_reconfig(MPQemuMsg *msg, Error **errp)
subregion = g_new(MemoryRegion, 1);
memory_region_init_ram_from_fd(subregion, NULL,
name, sysmem_info->sizes[region],
- true, msg->fds[region],
+ RAM_SHARED, msg->fds[region],
sysmem_info->offsets[region],
errp);
--
2.29.2.334.gfaefdd61ec
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] remote/memory: Replace share parameter with ram_flags
2021-07-08 11:51 [PATCH v2] remote/memory: Replace share parameter with ram_flags Yang Zhong
@ 2021-07-08 12:30 ` Philippe Mathieu-Daudé
2021-07-08 19:59 ` Pankaj Gupta
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-07-08 12:30 UTC (permalink / raw)
To: Yang Zhong, qemu-devel; +Cc: pbonzini, peterx, david
On 7/8/21 1:51 PM, Yang Zhong wrote:
> Fixes: d5015b801340 ("softmmu/memory: Pass ram_flags to
> qemu_ram_alloc_from_fd()")
Oops.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: Yang Zhong <yang.zhong@intel.com>
> Reviewed-by: David Hildenbrand <david@redhat.com>
> ---
> hw/remote/memory.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/remote/memory.c b/hw/remote/memory.c
> index 472ed2a272..6e21ab1a45 100644
> --- a/hw/remote/memory.c
> +++ b/hw/remote/memory.c
> @@ -46,7 +46,7 @@ void remote_sysmem_reconfig(MPQemuMsg *msg, Error **errp)
> subregion = g_new(MemoryRegion, 1);
> memory_region_init_ram_from_fd(subregion, NULL,
> name, sysmem_info->sizes[region],
> - true, msg->fds[region],
> + RAM_SHARED, msg->fds[region],
> sysmem_info->offsets[region],
> errp);
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] remote/memory: Replace share parameter with ram_flags
2021-07-08 11:51 [PATCH v2] remote/memory: Replace share parameter with ram_flags Yang Zhong
2021-07-08 12:30 ` Philippe Mathieu-Daudé
@ 2021-07-08 19:59 ` Pankaj Gupta
1 sibling, 0 replies; 3+ messages in thread
From: Pankaj Gupta @ 2021-07-08 19:59 UTC (permalink / raw)
To: Yang Zhong
Cc: Paolo Bonzini, Philippe Mathieu-Daudé,
Qemu Developers, Peter Xu, David Hildenbrand
> Fixes: d5015b801340 ("softmmu/memory: Pass ram_flags to
> qemu_ram_alloc_from_fd()")
>
> Signed-off-by: Yang Zhong <yang.zhong@intel.com>
> Reviewed-by: David Hildenbrand <david@redhat.com>
> ---
> hw/remote/memory.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/remote/memory.c b/hw/remote/memory.c
> index 472ed2a272..6e21ab1a45 100644
> --- a/hw/remote/memory.c
> +++ b/hw/remote/memory.c
> @@ -46,7 +46,7 @@ void remote_sysmem_reconfig(MPQemuMsg *msg, Error **errp)
> subregion = g_new(MemoryRegion, 1);
> memory_region_init_ram_from_fd(subregion, NULL,
> name, sysmem_info->sizes[region],
> - true, msg->fds[region],
> + RAM_SHARED, msg->fds[region],
> sysmem_info->offsets[region],
> errp);
>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-08 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 11:51 [PATCH v2] remote/memory: Replace share parameter with ram_flags Yang Zhong
2021-07-08 12:30 ` Philippe Mathieu-Daudé
2021-07-08 19:59 ` Pankaj Gupta
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.