Re: [libvirt] [PATCH 05/11] qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain

2019-07-08 Thread Ján Tomko
On Thu, Jul 04, 2019 at 04:26:29PM +0200, Peter Krempa wrote: To allow using -blockdev with blockjobs need to reopen files in read-write mode when modifying the backing chain. -EPARSE s/blockjobs need/blockjobs QEMU needs/ To achieve this we need to use 'auto-read-only' for the backing

[libvirt] [PATCH 05/11] qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain

2019-07-04 Thread Peter Krempa
To allow using -blockdev with blockjobs need to reopen files in read-write mode when modifying the backing chain. To achieve this we need to use 'auto-read-only' for the backing files rather than the normal 'read-only' property. That way qemu knows that the files need to be reopened. Note that