[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC QEMU PATCH 15/18] softmmu: Enable qemu ram allocation with fd for X
From: |
Huang Rui |
Subject: |
[RFC QEMU PATCH 15/18] softmmu: Enable qemu ram allocation with fd for Xen |
Date: |
Sun, 12 Mar 2023 17:22:41 +0800 |
Venus is requesting the function on Xen as well, enable this path on Xen
hypervisor.
Signed-off-by: Huang Rui <ray.huang@amd.com>
---
softmmu/physmem.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/softmmu/physmem.c b/softmmu/physmem.c
index e54561bace..2838dee2f2 100644
--- a/softmmu/physmem.c
+++ b/softmmu/physmem.c
@@ -2060,11 +2060,6 @@ RAMBlock *qemu_ram_alloc_from_fd(ram_addr_t size,
MemoryRegion *mr,
assert((ram_flags & ~(RAM_SHARED | RAM_PMEM | RAM_NORESERVE |
RAM_PROTECTED)) == 0);
- if (xen_enabled()) {
- error_setg(errp, "-mem-path not supported with Xen");
- return NULL;
- }
-
if (kvm_enabled() && !kvm_has_sync_mmu()) {
error_setg(errp,
"host lacks kvm mmu notifiers, -mem-path unsupported");
--
2.25.1
- Re: [RFC QEMU PATCH 08/18] virtio-gpu: Initialize Venus, (continued)
- [RFC QEMU PATCH 09/18] meson: Enable virglrenderer unstable APIs, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 10/18] virtio-gpu: Handle set scanout blob command, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 11/18] virtio-gpu: make blob scanout use dmabuf fd, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 12/18] softmmu: Fix the size to map cache with xen for host virtual address, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 13/18] hw/i386/xen/xen-hvm: Introduce xen_ram_block_check function, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 14/18] softmmu: Add ram block check to map the xen ram memory, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 16/18] virtio-gpu: fix hw-display-virtio-gpu.so undefined symbol virtio_gpu_virgl_resource_unmap, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 17/18] virtio-gpu: Add video hardware accelerate support for virgl, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 18/18] xen: translate irq of host pci device to gsi, Huang Rui, 2023/03/12
- [RFC QEMU PATCH 15/18] softmmu: Enable qemu ram allocation with fd for Xen,
Huang Rui <=