On Fri, May 15, 2020 at 17:16:57 +0200, Michal Privoznik wrote:
On 5/15/20 4:40 PM, GUOQING LI wrote:
[...]
> *Detailed error *
> Error starting domain: internal error: process exited while connecting
> to monitor: 2020-05-15T14:19:06.033267Z qemu-system-x86_64: -drive
> file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on:
> Failed to lock byte 100
>
This error message comes from QEMU. Unfortunately, it doesn't say why
locking the file failed. Is there perhaps some additional info in the audit
log?
IMO there's another qemu where the 'readonly=on' command line property
or thus the <readonly> property in the XML is missing and thus it's
opened in write mode. Readers are forbidden then.