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

Re: [Xen-users] [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 >= XenbusStateClosed

Right.
> 
> 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 XenbusStateClosed

It 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@xxxxxxxxx
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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