remote/memory: Replace share parameter with ram_flags
PATCH v2 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]>
--- 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 2 lines · Yang Zhong
Fixes d5015b801340 ("softmmu/memory: Pass ram_flags to
qemu_ram_alloc_from_fd()")
Oops.
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 20 lines
Signed-off-by Yang Zhong <[email protected]>Reviewed-by David Hildenbrand <[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);
Quoted 14 lines
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]>--- 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);
Reviewed-by Pankaj Gupta <[email protected]>