[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Starting QEMU with RAM from shm file
From: |
Miltos Hatzimihail |
Subject: |
Re: [Qemu-discuss] Starting QEMU with RAM from shm file |
Date: |
Sun, 28 May 2017 19:17:40 +0100 |
To answer my own question, I needed to do this:
-m 4G -object
memory-backend-file,id=mem,size=4G,mem-path=/dev/shm/sysmem,share=on -numa
node,memdev=mem
and it works like a charm
Milton
> On 26 May 2017, at 16:53, Miltiadis Hatzimihail <address@hidden> wrote:
>
> I am trying to start Guest OS with QEMU and map its RAM from a file in the
> /dev/shm from the host.
>
> Is this possible? I tried the -mem-path and -mem-prealloc options but I can't
> see anything on the host when I do a hex dump on the file.
>
> Regards
> Milton
> --
>
> Miltiadis Hatzimihail
>