From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50605 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAEac-0007aV-C2 for qemu-devel@nongnu.org; Mon, 25 Oct 2010 00:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAEab-0006yC-7B for qemu-devel@nongnu.org; Mon, 25 Oct 2010 00:23:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAEaa-0006y8-Ri for qemu-devel@nongnu.org; Mon, 25 Oct 2010 00:23:17 -0400 Date: Mon, 25 Oct 2010 06:16:13 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH v6 07/12] pcie/hotplug: introduce pushing attention button command Message-ID: <20101025041613.GC1491@redhat.com> References: <2f5cb93039ab90a7b267334dd5e2e94b7a550b9f.1287562197.git.yamahata@valinux.co.jp> <20101020100011.GE10783@redhat.com> <20101022143849.GC23469@redhat.com> <4CC1A523.5040701@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CC1A523.5040701@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: skandasa@cisco.com, lmr@redhat.com, etmartin@cisco.com, wexu2@cisco.com, Markus Armbruster , qemu-devel@nongnu.org, Isaku Yamahata , kraxel@redhat.com On Fri, Oct 22, 2010 at 09:52:19AM -0500, Anthony Liguori wrote: > On 10/22/2010 09:38 AM, Michael S. Tsirkin wrote: > >On Fri, Oct 22, 2010 at 01:35:47PM +0200, Markus Armbruster wrote: > >>"Michael S. Tsirkin" writes: > >> > >>>On Wed, Oct 20, 2010 at 05:18:56PM +0900, Isaku Yamahata wrote: > >>>>glue pcie_push_attention_button command. > >>>> > >>>>Signed-off-by: Isaku Yamahata > >>>So as a high level command, I think we need to > >>>think about how to tie this into pci_add/pci_del. > >>>Right? > >>[...] > >> > >>Do we have consensus how our set of commands for hot plug should look > >>like? We talked about it, but did we reach consensus? If yes, did we > >>write it down somewhere? > >I think for simple things yes: > >- command to send hotplug notification to the guest > >- command to immediately add/remove the device > >- event to notify about guest ack > > Is it a guest ack? I thought it was actually an eject that can be > initiated without the notification being sent to the guest. Yes. > If so, polling doesn't really make much sense. Who said something about polling? > Regards, > > Anthony Liguori > > >- way to poll status: did guest ack last command? > > > >Existing ones will keep function: > >- send notification and when acked remove device > >- add device and send notification > >These are useful for human monitor but maybe not > >for management. > > > >