Received: from eggs.gnu.org ([2001:4830:134:3::10]:35678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCTCJ-0004IA-Jf for qemu-devel@nongnu.org; Tue, 07 Jul 2015 09:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCTCC-0006w2-KH for qemu-devel@nongnu.org; Tue, 07 Jul 2015 09:46:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCTCC-0006vq-CU for qemu-devel@nongnu.org; Tue, 07 Jul 2015 09:46:00 -0400 Date: Tue, 7 Jul 2015 15:45:57 +0200 From: Kevin Wolf Message-ID: <20150707134557.GG14035@noname.redhat.com> References: <1436270904-2855-1-git-send-email-stefanha@redhat.com> <1436270904-2855-4-git-send-email-stefanha@redhat.com> <559BD6EE.9040407@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <559BD6EE.9040407@kamp.de> Subject: Re: [Qemu-devel] [PULL for-2.4 3/7] block/nfs: add support for setting debug level List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Stefan Hajnoczi , qemu-devel , Stefan Hajnoczi , Peter Maydell Am 07.07.2015 um 15:41 hat Peter Lieven geschrieben: > Am 07.07.2015 um 15:24 schrieb Stefan Hajnoczi: > >On Tue, Jul 7, 2015 at 1:08 PM, Stefan Hajnoczi wrote: > >>From: Peter Lieven > >> > >>upcoming libnfs versions will support logging debug messages. Add > >>support for it in qemu through a per-drive option. > >> > >>Examples: > >> qemu -drive if=virtio,file=nfs://...,file.debug=2 > >> qemu-img create -o debug=2 nfs://... 10G > >> > >>Signed-off-by: Peter Lieven > >>Reviewed-by: Fam Zheng > >>Message-id: 1436251847-16875-1-git-send-email-pl@kamp.de > >>Signed-off-by: Stefan Hajnoczi > >>--- > >> block/nfs.c | 28 ++++++++++++++++++++++++---- > >> qapi/block-core.json | 20 ++++++++++++++++---- > >> 2 files changed, 40 insertions(+), 8 deletions(-) > >Kevin has pointed out at the QAPI portion of this patch isn't ready > >for prime time yet, so I will revert the patch and resend the pull > >request. > > Yes please, I was not aware that adding the QAPI part > has such an impact. I would appreciate if someone who has > more experience with the QAPI stuff would look at this and > make a proposal how to handle the NFS (and also the iSCSI) > case. I'm happy to look at the implementation then. We should definitely come to a conclusion on this for 2.5. The same problem doesn't only apply for NFS, but for all network protocols, and this is one of the major reasons why blockdev-add isn't ready yet. We'll need Eric for this discussion, though, and he'll only return from vacation next Monday. Kevin