xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* 10s shutdown delay for PV guests with PCI passthrough
@ 2014-07-17 14:41 Simon Martin
  2014-07-18 18:45 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Martin @ 2014-07-17 14:41 UTC (permalink / raw)
  To: xen-users
  Cc: Ian Campbell, George Dunlap, Ian Jackson, xen-devel@lists.xen.org,
	David Vrabel, Boris Ostrovsky, Atom2, Roger Pau Monne

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

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

If I do not perform step 3 then PV shutsdown after a 10s timeout.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-04 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-17 14:41 10s shutdown delay for PV guests with PCI passthrough Simon Martin
2014-07-18 18:45 ` Konrad Rzeszutek Wilk
2014-07-20 20:01   ` Simon Martin
2014-08-04 13:53     ` Is: Xen pci backend state transition from Closed -> Initialized broken. Was:Re: " Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).