From: Chris Wright Subject: Re: [PATCH v2] device-assignment: Reset device on system reset Date: Thu, 17 Mar 2011 14:55:42 -0700 Message-ID: <20110317215542.GN15007@x200.localdomain> References: <20110317192923.24889.79288.stgit@s20.home> <20110317212413.14852.67041.stgit@s20.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, ddutile@redhat.com, chrisw@redhat.com, bernhard.kohl@nsn.com To: Alex Williamson Return-path: Received: from mx1.redhat.com ([209.132.183.28]:35561 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755919Ab1CQVzq (ORCPT ); Thu, 17 Mar 2011 17:55:46 -0400 Content-Disposition: inline In-Reply-To: <20110317212413.14852.67041.stgit@s20.home> Sender: kvm-owner@vger.kernel.org List-ID: * Alex Williamson (alex.williamson@redhat.com) wrote: > On system reset, we currently try to quiesce DMA by clearing the > command register. This assumes that nothing re-enables bus master > support without first de-programming the device. Use a bigger > hammer to help the guest not shoot itself by issuing a function > reset via sysfs on each system reset. > > Signed-off-by: Alex Williamson Looks good. Acked-by: Chris Wright