From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPcbf-00031E-3s for qemu-devel@nongnu.org; Wed, 02 May 2012 12:40:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPcba-0005jz-JT for qemu-devel@nongnu.org; Wed, 02 May 2012 12:40:46 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:46253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPcba-0005jB-69 for qemu-devel@nongnu.org; Wed, 02 May 2012 12:40:42 -0400 Received: by pbbro12 with SMTP id ro12so1558602pbb.4 for ; Wed, 02 May 2012 09:40:40 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FA16381.40700@redhat.com> Date: Wed, 02 May 2012 18:40:33 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1335886307-27586-1-git-send-email-stefanha@linux.vnet.ibm.com> <4FA046C6.5080909@us.ibm.com> <4FA04E12.2090206@redhat.com> In-Reply-To: <4FA04E12.2090206@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [libvirt] [RFC 0/5] block: File descriptor passing using -open-hook-fd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , libvir-list@redhat.com, Anthony Liguori , Stefan Hajnoczi , qemu-devel@nongnu.org Il 01/05/2012 22:56, Eric Blake ha scritto: > What sort > of timing restrictions are there? For example, the proposed > 'drive-reopen' command (probably now delegated to qemu 1.2) would mean > that qemu would be calling back into libvirt in order to do the reopen. > If libvirt takes its time in passing back an open fd, is it going to > starve qemu from answering unrelated monitor commands in the meantime? > I definitely want to make sure we avoid deadlock where libvirt is > waiting on a monitor command, but the monitor command is waiting on > libvirt to pass an fd. FWIW I'm going to kill drive-reopen in favor of something like block-job-complete that will not require reopening (it will require opening the backing files though, and that can also take time). Paolo