[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/7] remote/memory: Replace share parameter with ram_flags
From: |
Cleber Rosa |
Subject: |
[PULL 7/7] remote/memory: Replace share parameter with ram_flags |
Date: |
Tue, 20 Jul 2021 19:30:18 -0400 |
From: Yang Zhong <yang.zhong@intel.com>
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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210709052800.63588-1-yang.zhong@intel.com>
Signed-off-by: Cleber Rosa <crosa@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.31.1
- [PULL for 6.1 0/7] Python and Acceptance Tests, Cleber Rosa, 2021/07/20
- [PULL 1/7] tests/acceptance/virtio-gpu.py: use require_accelerator(), Cleber Rosa, 2021/07/20
- [PULL 2/7] tests/acceptance/virtio-gpu.py: combine x86_64 arch tags, Cleber Rosa, 2021/07/20
- [PULL 3/7] tests/acceptance/virtio-gpu.py: combine CPU tags, Cleber Rosa, 2021/07/20
- [PULL 4/7] tests/acceptance/virtio-gpu.py: combine kernel command line, Cleber Rosa, 2021/07/20
- [PULL 6/7] tests/acceptance/virtio-gpu.py: provide kernel and initrd hashes, Cleber Rosa, 2021/07/20
- [PULL 5/7] tests/acceptance/virtio-gpu.py: use virtio-vga-gl, Cleber Rosa, 2021/07/20
- [PULL 7/7] remote/memory: Replace share parameter with ram_flags,
Cleber Rosa <=
- Re: [PULL for 6.1 0/7] Python and Acceptance Tests, Peter Maydell, 2021/07/21