From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [RFC PATCH] virtio: (Partially) enable suspend/resume support Date: Mon, 22 Nov 2010 15:01:31 +0000 Message-ID: <20101122150131.GA8783@srcf.ucam.org> References: <20101003155359.GB20285@redhat.com> <20101005134531.GD8207@amit-laptop.redhat.com> <20101005152319.GA22056@redhat.com> <20101006115418.GI8207@amit-laptop.redhat.com> <20101105101536.GA15514@redhat.com> <20101122134537.GB6979@amit-x200.redhat.com> <20101122145454.GB30157@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20101122145454.GB30157@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Michael S. Tsirkin" Cc: Amit Shah , Anthony Liguori , Virtualization List List-Id: virtualization@lists.linuxfoundation.org On Mon, Nov 22, 2010 at 04:54:54PM +0200, Michael S. Tsirkin wrote: > > What the Windows driver does is destroy all the virtqueues before > > suspend and re-init all of them on restore. This works well, but in the > > Linux case, we don't have a notifier that gets called after restore > > succeeds and before user-space tasks are thawed, > > Let's add one? May be difficult while retaining kABI, but it's certainly something that can go upstream. If it's not possible within kABI constraints then we'll need a workaround for 6. -- Matthew Garrett | mjg59@srcf.ucam.org