remote/memory: Replace share parameter with ram_flags
PATCH v3 1/1 remote/memory: Replace share parameter with ram_flags
Fixes d5015b801340 ("softmmu/memory: Pass ram_flags to
qemu_ram_alloc_from_fd()")
Signed-off-by Yang Zhong <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Reviewed-by Pankaj Gupta <[email protected]>
Reviewed-by Peter Xu <[email protected]>
--- hw/remote/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/remote/memory.c +1 -1
@@ -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);
Signature · 1 line
2.29.2.334.gfaefdd61ec
Quoted 18 lines · Yang Zhong
Fixes d5015b801340 ("softmmu/memory: Pass ram_flags to
qemu_ram_alloc_from_fd()")Signed-off-by Yang Zhong <[email protected]>Reviewed-by David Hildenbrand <[email protected]>Reviewed-by Philippe Mathieu-Daudé <[email protected]>Reviewed-by Pankaj Gupta <[email protected]>Reviewed-by Peter Xu <[email protected]>--- hw/remote/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/remote/memory.c +0
-0
hw/remote/memory.c void remote_sysmem_reconfig(MPQemuMsg *msg, Error **errp) · line 52
Quoted 8 lines
hw/remote/memory.c +1
-1@@ -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);
Just an info: no need to resend for added RBs or ACKs. The maintainer will usually simply pick them up while picking up your patch. :)
Signature · 3 lines
Thanks, David / dhildenb