All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: "Ian Campbell" <ian.campbell@citrix.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>
Cc: Ian Jackson <ian.jackson@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH v2] libxl: Make local_initiate_attach more rational
Date: Mon, 6 Jul 2015 10:44:45 +0100	[thread overview]
Message-ID: <559A4E0D.7000701@eu.citrix.com> (raw)
In-Reply-To: <1435933692.9447.133.camel@citrix.com>

On 07/03/2015 03:28 PM, Ian Campbell wrote:
> On Thu, 2015-07-02 at 19:55 +0200, Roger Pau Monné wrote:
>> El 02/07/15 a les 19.42, George Dunlap ha escrit:
>>> There are a lot of paths through
>>> libxl__device_disk_local_initiate_attach(), but they all really boil
>>> down to one thing: Can we just access the file directly, or do we need
>>> to attach it?
>>>
>>> The requirements for direct access are fairly simple:
>>> * Is this local (as opposed to a driver domain)?
>>> * Is this a raw format (as opposed to cooked)?
>>> * Does this have no scripts associated with it?
>>>
>>> If it meets all those requirements, we can access it directly;
>>> otherwise we need to attach it.
>>>
>>> This fixes a bug where bootloader execution fails for disks with
>>> hotplug scripts.
>>>
>>> This should fix a theoretical bug when using a qdisk backend in a
>>> driver domain. (Not tested.)
>>>
>>> Based on a patch by Roger Pau Monne <roger.pau@citrix.com>.
>>>
>>> Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
>>
>> LGTM
>>
>> Acked-by: Roger Pau Monné <roger.pau@citrix.com>
> 
> Acked-by: Ian Campbell <ian.campbell@citrix.com>

Hmm, this one seems somehow not to build because now ctx isn't used
anywhere.

I'm going to re-send this in a bit as part of a longer series switching
to blktap -- I'll take the liberty to retain both of your Acks.

 -George


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2015-07-06  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-02 17:42 [PATCH v2] libxl: Make local_initiate_attach more rational George Dunlap
2015-07-02 17:55 ` Roger Pau Monné
2015-07-03 14:28   ` Ian Campbell
2015-07-06  9:44     ` George Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=559A4E0D.7000701@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.