From: Wei Liu Subject: Re: [PATCH for-4.6] libxl: handle read-only drives with qemu-xen Date: Mon, 14 Sep 2015 10:53:20 +0100 Message-ID: <20150914095319.GD2294@zion.uk.xensource.com> References: <1441990829-18122-1-git-send-email-stefano.stabellini@eu.citrix.com> <20150914090341.GB2294@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZbQRw-0003BB-6D for xen-devel@lists.xenproject.org; Mon, 14 Sep 2015 09:53:24 +0000 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Ian.Campbell@eu.citrix.com, xen-devel@lists.xenproject.org, Wei Liu , Ian.Jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, Sep 14, 2015 at 10:49:00AM +0100, Stefano Stabellini wrote: > On Mon, 14 Sep 2015, Wei Liu wrote: > > On Fri, Sep 11, 2015 at 06:00:29PM +0100, Stefano Stabellini wrote: > > > The current libxl code doesn't deal with read-only drives at all. > > > > > > Upstream QEMU and qemu-xen only support read-only cdrom drives: make > > > sure to specify "readonly=on" for cdrom drives and return error in case > > > the user requested a non-cdrom read-only drive. > > > > > > > The commit message speaks about both upstream QEMU and traditional QEMU, > > but the code only touches upstream routine. I know that QEMU-trad uses > > different method to get disk parameters so _args_old is not an option, > > but perhaps something else is missing? Or is it because QEMU-trad is > > doing the right thing already? > > I know that QEMU naming is very confusing, but qemu-xen is the upstream > QEMU based tree which xen-unstable uses. We are only talking about > upstream QEMU based trees here. > Ah, alright. Sorry for the noise. Acked-by: Wei Liu