From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCtTJ-0002Eb-PG for qemu-devel@nongnu.org; Wed, 08 Jul 2015 13:49:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCtTG-0005C4-Gw for qemu-devel@nongnu.org; Wed, 08 Jul 2015 13:49:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCtTG-0005Am-CR for qemu-devel@nongnu.org; Wed, 08 Jul 2015 13:49:22 -0400 References: <1436270904-2855-1-git-send-email-stefanha@redhat.com> <1436270904-2855-4-git-send-email-stefanha@redhat.com> <559BCB10.20907@kamp.de> <20150707134057.GF14035@noname.redhat.com> From: Max Reitz Message-ID: <559D628A.6000605@redhat.com> Date: Wed, 8 Jul 2015 19:48:58 +0200 MIME-Version: 1.0 In-Reply-To: <20150707134057.GF14035@noname.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Kevin Wolf , Stefan Hajnoczi Cc: Peter Maydell , Peter Lieven , qemu-devel , Stefan Hajnoczi On 07.07.2015 15:40, Kevin Wolf wrote: > Am 07.07.2015 um 15:13 hat Stefan Hajnoczi geschrieben: >> On Tue, Jul 7, 2015 at 1:50 PM, Peter Lieven wrote: >>> Am 07.07.2015 um 14:08 schrieb Stefan Hajnoczi: >>>> >>>> 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 >>> >>> >>> Thanks for pulling this. >>> >>> Question: Is it possible to insert a CDROM other than with the 'change' >>> command? >>> The change command obviously does not support file.debug parameters... >> >> Not that I'm aware of. >> >> You may be able to hotplug SCSI CD-ROM drives, but that's not the same >> as ejecting/inserting CD-ROM media. >> >> Sounds like an item for the block layer todo list: >> http://qemu-project.org/Features/Block/Todo > > I think Max' media handling series might implement this or at least go a > step in that direction. CCing Max. Since with that series, you can insert any BDS as a medium, yes, it naturally does. But for now, wouldn't JSON file names work? Max