From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b59to-0007gV-CA for qemu-devel@nongnu.org; Tue, 24 May 2016 06:49:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b59tk-0006uf-8l for qemu-devel@nongnu.org; Tue, 24 May 2016 06:49:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b59tk-0006uY-36 for qemu-devel@nongnu.org; Tue, 24 May 2016 06:49:16 -0400 Date: Tue, 24 May 2016 13:49:12 +0300 From: "Michael S. Tsirkin" Message-ID: <20160524134742-mutt-send-email-mst@redhat.com> References: <1459856523-17085-1-git-send-email-caoj.fnst@cn.fujitsu.com> <1459856523-17085-12-git-send-email-caoj.fnst@cn.fujitsu.com> <20160411153827.3884ded1@t450s.home> <570EEC42.3040300@cn.fujitsu.com> <571EE2D6.4000100@cn.fujitsu.com> <20160426084815.24ec5200@t450s.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160426084815.24ec5200@t450s.home> Subject: Re: [Qemu-devel] [patch v6 11/12] vfio: register aer resume notification handler for aer resume List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: Chen Fan , Cao jin , izumi.taku@jp.fujitsu.com, qemu-devel@nongnu.org On Tue, Apr 26, 2016 at 08:48:15AM -0600, Alex Williamson wrote: > I think that means that if we want to switch from a > simple halt-on-error to a mechanism for the guest to handle recovery, > we need to disable access to the device between being notified that the > error occurred and being notified to resume. But this isn't what happens on bare metal. Errors are reported asynchronously and host might access the device meanwhile. These accesses might or might not trigger more errors, but fundamentally this should not matter too much as device is going to be reset. -- MST