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.

> +    return -1;
> +}

-- 
Peter Xu


Reply via email to