Konrad Rzeszutek Wilk
2014-Jul-18 18:45 UTC
Re: [Xen-devel] 10s shutdown delay for PV guests with PCI passthrough
On Thu, Jul 17, 2014 at 03:41:04PM +0100, Simon Martin wrote:> Hi all, > > I'm not sure whether this is related to Atom2's post "substantial > shutdown delay for PV guests with PCI -passthrough", I didn't see any > resolution to it and I am seeing something similar, but slightly > different. > > I get a 10s delay shutting down my PV, I have implemented the code as > I see it in mini-os: > > 1.- frontend sets state XenbusStateClosing and waits for backend to go > to state >= XenbusStateClosing. > > 2.- frontend sets state XenbusStateClosed and waits for backend to go > to state >= XenbusStateClosedRight.> > 3.- frontend set state XenbusStateInitialising and waits for frontend > to go to a state in the interval [XenbusStateInitWait, > XenbusStateClosed). > > If I perform step 3 then the frontend never exits as the backend state > stays at XenbusStateClosedIt looks like there is no code for XenbusStateInitialising so it just ignores it. There is a state for XenbusStateInitialised.> > If I do not perform step 3 then PV shutsdown after a 10s timeout.How does it shutdown? What causes the shutdown?> > Is this mini-os implementation in sync with the pciback > implementation? Is there a step I have missed? > > -- > Best regards, > Simon mailto:furryfuttock@gmail.com > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel