Re: [PATCH 2/5] qemuFirmwareFillDomain: Use FW descriptors to lookup template when resetting NVRAM

2022-02-10 Thread Daniel P . Berrangé
On Thu, Feb 10, 2022 at 12:13:23PM +0100, Michal Privoznik wrote: > If VIR_QEMU_PROCESS_START_RESET_NVRAM flag is passed when > starting a domain, then user requested to overwrite the domain > specific NVRAM with the one from template. But it is very likely > that the path to the template is not st

[PATCH 2/5] qemuFirmwareFillDomain: Use FW descriptors to lookup template when resetting NVRAM

2022-02-10 Thread Michal Privoznik
If VIR_QEMU_PROCESS_START_RESET_NVRAM flag is passed when starting a domain, then user requested to overwrite the domain specific NVRAM with the one from template. But it is very likely that the path to the template is not stored in the domain definition, which in turn makes the copy function (qemu