From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VT6X3-00031k-Bq for qemu-devel@nongnu.org; Mon, 07 Oct 2013 04:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VT6Wx-0004in-QL for qemu-devel@nongnu.org; Mon, 07 Oct 2013 04:51:13 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:56374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VT6Wx-0004hP-Ii for qemu-devel@nongnu.org; Mon, 07 Oct 2013 04:51:07 -0400 Received: by mail-wi0-f179.google.com with SMTP id hm2so4439978wib.0 for ; Mon, 07 Oct 2013 01:51:06 -0700 (PDT) Date: Mon, 7 Oct 2013 10:51:03 +0200 From: Stefan Hajnoczi Message-ID: <20131007085103.GG6254@stefanha-thinkpad.redhat.com> References: <1380735087-16406-1-git-send-email-riegamaths@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380735087-16406-1-git-send-email-riegamaths@gmail.com> Subject: Re: [Qemu-devel] [PATCH] block: use correct filename List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dunrong Huang Cc: Kevin Wolf , qemu-devel , Stefan Hajnoczi On Thu, Oct 03, 2013 at 01:31:27AM +0800, Dunrong Huang wrote: > The content filename point to may be erased by qemu_opts_absorb_qdict() > in raw_open_common() in drv->bdrv_file_open() > > So it's better to use bs->filename. > > Signed-off-by: Dunrong Huang > --- > block.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan