qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH V4 01/19] backends/hostmem-shm: factor out allocation of "ano


From: Steven Sistare
Subject: Re: [PATCH V4 01/19] backends/hostmem-shm: factor out allocation of "anonymous shared memory with an fd"
Date: Thu, 12 Dec 2024 15:37:52 -0500
User-agent: Mozilla Thunderbird

On 12/9/2024 12:36 PM, Peter Xu wrote:
On Mon, Dec 02, 2024 at 05:19:53AM -0800, Steve Sistare wrote:
diff --git a/util/oslib-win32.c b/util/oslib-win32.c
index b623830..aef5779 100644
--- a/util/oslib-win32.c
+++ b/util/oslib-win32.c
@@ -877,3 +877,14 @@ void qemu_win32_map_free(void *ptr, HANDLE h, Error **errp)
      }
      CloseHandle(h);
  }
+
+bool qemu_shm_available(void)
+{
+    return false;
+}
+
+int qemu_shm_alloc(size_t size, Error **errp)
+{
+    error_setg("Shared memory is not supported.");

May need a fixup here to make build pass.

Yup!!  Will fix.

- Steve



reply via email to

[Prev in Thread] Current Thread [Next in Thread]