Re: [libvirt] [PATCH] qemu: snapshot: Mark file becoming backingStore as read-only

2019-12-09 Thread Ján Tomko
On Mon, Dec 09, 2019 at 12:52:04PM +0100, Peter Krempa wrote: For any backing file we set 'read-only' to true, but didn't do this when modifying the recorded backing store when creating external snapshots. This meant that qemu would attempt to open the backing-file read-write. This would fail fo

[libvirt] [PATCH] qemu: snapshot: Mark file becoming backingStore as read-only

2019-12-09 Thread Peter Krempa
For any backing file we set 'read-only' to true, but didn't do this when modifying the recorded backing store when creating external snapshots. This meant that qemu would attempt to open the backing-file read-write. This would fail for example when selinux is used as qemu doesn't have write permis