On Mon, Dec 16, 2024 at 04:56:33PM +, Peter Maydell wrote:
> On Mon, 16 Dec 2024 at 16:14, Peter Xu wrote:
> >
> > QEMU uses g_mkdir_with_parents() a lot, especially in the case where the
> > failure case is ignored so an abort is expected when happened.
> >
> > Provide a helper qemu_mkdir_wit
On Mon, Dec 16, 2024 at 07:28:19PM +0200, Konstantin Kostiuk wrote:
> On Mon, Dec 16, 2024 at 7:12 PM Peter Xu wrote:
>
> > On Mon, Dec 16, 2024 at 04:56:33PM +, Peter Maydell wrote:
> > > On Mon, 16 Dec 2024 at 16:14, Peter Xu wrote:
> > > >
> > > > QEMU uses g_mkdir_with_parents() a lot, e
On Mon, Dec 16, 2024 at 7:12 PM Peter Xu wrote:
> On Mon, Dec 16, 2024 at 04:56:33PM +, Peter Maydell wrote:
> > On Mon, 16 Dec 2024 at 16:14, Peter Xu wrote:
> > >
> > > QEMU uses g_mkdir_with_parents() a lot, especially in the case where
> the
> > > failure case is ignored so an abort is e
Peter Xu writes:
> QEMU uses g_mkdir_with_parents() a lot, especially in the case where the
> failure case is ignored so an abort is expected when happened.
>
> Provide a helper qemu_mkdir_with_parents() to do that, and use it in the
> two cases in qga/. To be used in more places later.
>
> Sign
On Mon, Dec 16, 2024 at 04:56:33PM +, Peter Maydell wrote:
> On Mon, 16 Dec 2024 at 16:14, Peter Xu wrote:
> >
> > QEMU uses g_mkdir_with_parents() a lot, especially in the case where the
> > failure case is ignored so an abort is expected when happened.
> >
> > Provide a helper qemu_mkdir_wit
On Mon, 16 Dec 2024 at 16:14, Peter Xu wrote:
>
> QEMU uses g_mkdir_with_parents() a lot, especially in the case where the
> failure case is ignored so an abort is expected when happened.
>
> Provide a helper qemu_mkdir_with_parents() to do that, and use it in the
> two cases in qga/. To be used