Re: [PATCH] mac_nvram: Add block backend to persist NVRAM contents

2023-02-01 Thread Mark Cave-Ayland
On 19/01/2023 22:28, BALATON Zoltan wrote: Add a way to set a backing store for the mac_nvram similar to what spapr_nvram or mac_via PRAM already does to allow to save its contents between runs. Use -drive file=nvram.img,format=raw,if=mtd to specify backing file where nvram.img must be MACIO_NVR

Re: [PATCH] mac_nvram: Add block backend to persist NVRAM contents

2023-01-22 Thread BALATON Zoltan
On Fri, 20 Jan 2023, Cédric Le Goater wrote: On 1/19/23 23:28, BALATON Zoltan wrote: Add a way to set a backing store for the mac_nvram similar to what spapr_nvram or mac_via PRAM already does to allow to save its contents between runs. Use -drive file=nvram.img,format=raw,if=mtd to specify back

Re: [PATCH] mac_nvram: Add block backend to persist NVRAM contents

2023-01-20 Thread Cédric Le Goater
On 1/19/23 23:28, BALATON Zoltan wrote: Add a way to set a backing store for the mac_nvram similar to what spapr_nvram or mac_via PRAM already does to allow to save its contents between runs. Use -drive file=nvram.img,format=raw,if=mtd to specify backing file where nvram.img must be MACIO_NVRAM_S

Re: [PATCH] mac_nvram: Add block backend to persist NVRAM contents

2023-01-19 Thread Philippe Mathieu-Daudé
On 19/1/23 23:28, BALATON Zoltan wrote: Add a way to set a backing store for the mac_nvram similar to what spapr_nvram or mac_via PRAM already does to allow to save its contents between runs. Use -drive file=nvram.img,format=raw,if=mtd to specify backing file where nvram.img must be MACIO_NVRAM_S

[PATCH] mac_nvram: Add block backend to persist NVRAM contents

2023-01-19 Thread BALATON Zoltan
Add a way to set a backing store for the mac_nvram similar to what spapr_nvram or mac_via PRAM already does to allow to save its contents between runs. Use -drive file=nvram.img,format=raw,if=mtd to specify backing file where nvram.img must be MACIO_NVRAM_SIZE which is 8192 bytes. It is only wired