Re: [Qemu-block] block-commit dropping privs

2015-04-06 Thread Michael Tokarev
02.04.2015 16:19, Kevin Wolf wrote: Am 02.04.2015 um 14:04 hat Michael Tokarev geschrieben: 02.04.2015 14:24, Kevin Wolf wrote: [] But overall, I think qemu-system should not modify backing file name in this case. So you would leave the backing file with the data that you just committed

Re: [Qemu-block] block-commit dropping privs

2015-04-02 Thread Eric Blake
On 04/02/2015 06:04 AM, Michael Tokarev wrote: 02.04.2015 14:24, Kevin Wolf wrote: [] But overall, I think qemu-system should not modify backing file name in this case. So you would leave the backing file with the data that you just committed down one level in your backing file chain?

Re: [Qemu-block] block-commit dropping privs

2015-04-02 Thread Kevin Wolf
Am 02.04.2015 um 12:58 hat Michael Tokarev geschrieben: 01.04.2015 15:34, Kevin Wolf wrote: [] Overriding the backing file should work like this: -drive file=...,backing.file.filename=/dev/fdset/2 Oh-ok, this works. Sort of. Because after performing commit (is there a

Re: [Qemu-block] block-commit dropping privs

2015-04-01 Thread Michael Tokarev
30.03.2015 18:36, Kevin Wolf wrote: Am 27.03.2015 um 18:12 hat Eric Blake geschrieben: On 03/27/2015 09:36 AM, Michael Tokarev wrote: Wonder how to specify cache mode, or should I open these with proper O_DIRECT/O_SYNC/whatever? It looks like it's possible to change O_DIRECT at runtime but

Re: [Qemu-block] block-commit dropping privs

2015-04-01 Thread Michael Tokarev
01.04.2015 12:26, Michael Tokarev пишет: 30.03.2015 18:36, Kevin Wolf wrote: Am 27.03.2015 um 18:12 hat Eric Blake geschrieben: On 03/27/2015 09:36 AM, Michael Tokarev wrote: Wonder how to specify cache mode, or should I open these with proper O_DIRECT/O_SYNC/whatever? It looks like it's

Re: [Qemu-block] block-commit dropping privs

2015-04-01 Thread Kevin Wolf
Am 01.04.2015 um 11:54 hat Michael Tokarev geschrieben: 01.04.2015 12:26, Michael Tokarev пишет: 30.03.2015 18:36, Kevin Wolf wrote: Am 27.03.2015 um 18:12 hat Eric Blake geschrieben: On 03/27/2015 09:36 AM, Michael Tokarev wrote: Wonder how to specify cache mode, or should I open these