[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH, RFC]: qemu: hang-free/error-tolerant PCI hot-plug protocol
On Fri, 2010-07-30 at 17:47 +0100, Gianni Tedesco wrote: > +static int pci_ins_check(libxl_ctx *ctx, uint32_t domid, const char *state, > void *priv) > +{ > + char *orig_state = priv; > + > + if ( !strcmp(state, "pci-insert-failed") ) > + return -1; > + if ( !strcmp(state, "pci-inserted") ) > + return 0; > + if ( !strcmp(state, orig_state) ) > + return 1; > + > + return -1; This should probably return 1 to keep looking for one or the other states in-case another operation is ongoing due to another tool-stack instance actually. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |