From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Martin Subject: 10s shutdown delay for PV guests with PCI passthrough Date: Thu, 17 Jul 2014 15:41:04 +0100 Message-ID: <323082597.20140717154104@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-users@lists.xenproject.org Cc: Ian Campbell , George Dunlap , Ian Jackson , "xen-devel@lists.xen.org" , David Vrabel , Boris Ostrovsky , Atom2 , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org 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