Re: [PATCH] NVRAM: check NVRAM file size and recover from template

2020-09-01 Thread Michal Privoznik
On 9/1/20 10:46 AM, Daniel P. Berrangé wrote: On Sat, Aug 08, 2020 at 06:01:22PM +0800, Hao Wang wrote: From: Hao Wang Subject: [PATCH] NVRAM: check NVRAM file size and recover from template A corrupted nvram file (e.g. caused by last unsuccessful creation due to insufficient memory) can lead

Re: [PATCH] NVRAM: check NVRAM file size and recover from template

2020-09-01 Thread Daniel P . Berrangé
On Sat, Aug 08, 2020 at 06:01:22PM +0800, Hao Wang wrote: > From: Hao Wang > Subject: [PATCH] NVRAM: check NVRAM file size and recover from template > > A corrupted nvram file (e.g. caused by last unsuccessful creation due to > insufficient memory) can lead to boot or mi

Re: [PATCH] NVRAM: check NVRAM file size and recover from template

2020-08-31 Thread Daniel Henrique Barboza
On 8/8/20 7:01 AM, Hao Wang wrote: From: Hao Wang Subject: [PATCH] NVRAM: check NVRAM file size and recover from template A corrupted nvram file (e.g. caused by last unsuccessful creation due to insufficient memory) can lead to boot or migration failure. Check the size of the existed nvram

[PATCH] NVRAM: check NVRAM file size and recover from template

2020-08-08 Thread Hao Wang
From: Hao Wang Subject: [PATCH] NVRAM: check NVRAM file size and recover from template A corrupted nvram file (e.g. caused by last unsuccessful creation due to insufficient memory) can lead to boot or migration failure. Check the size of the existed nvram file when qemuPrepareNVRAM, and re