[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] bogus libxl error handling in domcreate_bootloader_done



Am Mon, 4 Mar 2019 14:54:01 +0000
schrieb Wei Liu <wei.liu2@xxxxxxxxxx>:

> > > +    /* Prepare environment for domcreate_stream_done */
> > > +    dcs->srs.ao = ao;
> > > +    dcs->srs.dcs = dcs;
> > > +    dcs->srs.fd = -1;
> As far as I can tell only srs.dcs needs to be initialised before hand.

fd needs to be tweaked as well to prevent the "soft reset" code path.
But as I notice just now, my change touches the wrong fd. restore_fd
is apparently already set. So yes, only dcs is required.

But is domcreate_bootloader_done the correct place to initialize it?

Olaf

Attachment: pgpfOqGzhiilZ.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.