Re: [PATCH 4/4] qemu_shim: Always pre-create root dir

2021-03-12 Thread Michal Privoznik
On 3/12/21 11:51 AM, Andrea Bolognani wrote: On Mon, 2021-03-01 at 12:49 +0100, Michal Privoznik wrote: This problem is reproducible only with secret driver. When starting a domain via virt-qemu-run and both secret and (nonexistent) root directory specified this is what happens: 1)

Re: [PATCH 4/4] qemu_shim: Always pre-create root dir

2021-03-12 Thread Andrea Bolognani
On Fri, 2021-03-12 at 15:38 +0100, Michal Privoznik wrote: > On 3/12/21 11:51 AM, Andrea Bolognani wrote: > > On Mon, 2021-03-01 at 12:49 +0100, Michal Privoznik wrote: > > > @@ -213,11 +213,16 @@ int main(int argc, char **argv) > > > } > > > tmproot = true; > > > > > > -

Re: [PATCH 4/4] qemu_shim: Always pre-create root dir

2021-03-12 Thread Andrea Bolognani
On Mon, 2021-03-01 at 12:49 +0100, Michal Privoznik wrote: > This problem is reproducible only with secret driver. When > starting a domain via virt-qemu-run and both secret and > (nonexistent) root directory specified this is what happens: > > 1) virt-qemu-run opens

[PATCH 4/4] qemu_shim: Always pre-create root dir

2021-03-01 Thread Michal Privoznik
This problem is reproducible only with secret driver. When starting a domain via virt-qemu-run and both secret and (nonexistent) root directory specified this is what happens: 1) virt-qemu-run opens "secret:///embed?root=$rootdir" connection, which results in the secret driver initialization