From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Jan Beulich <JBeulich@suse.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH] qemu-stubdom: prevent useless medium change [and 1 more messages]
Date: Fri, 7 Dec 2012 10:37:14 +0100 [thread overview]
Message-ID: <50C1B8CA.7020609@citrix.com> (raw)
In-Reply-To: <20672.37281.34306.903202@mariner.uk.xensource.com>
On 06/12/12 13:37, Ian Jackson wrote:
> Roger Pau Monne writes ("[Xen-devel] [PATCH] qemu-stubdom: prevent useless medium change"):
>> qemu-stubdom was stripping the prefix from the "params" xenstore
>> key in xenstore_parse_domain_config, which was then saved stripped in
>> a variable. In xenstore_process_event we compare the "param" from
>> xenstore (not stripped) with the stripped "param" saved in the
>> variable, which leads to a medium change (even if there isn't any),
>> since we are comparing something like aio:/path/to/file with
>> /path/to/file. This only happens one time, since
>> xenstore_parse_domain_config is the only place where we strip the
>> prefix. The result of this bug is the following:
>
> Roger Pau Monne writes ("Re: [Xen-devel] [PATCH] qemu-stubdom: prevent useless medium change"):
>> Yes, it's a can of worms indeed.
>>
>> The non-stubdom path is not modified, and the code changes (1st block of
>> the patch) are contained inside a #ifdef STUBDOM (which is not seen on
>> the patch itself, because it's already there).
>
> Aha! Indeed.
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
>
> This needs to go into 4.2 surely ?
Thanks, and yes, it should be backported to 4.2 stable.
> Ian.
>
prev parent reply other threads:[~2012-12-07 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 16:02 [PATCH] qemu-stubdom: prevent useless medium change Roger Pau Monne
2012-11-16 16:18 ` Ian Jackson
2012-12-03 16:27 ` Roger Pau Monné
2012-12-06 12:37 ` [PATCH] qemu-stubdom: prevent useless medium change [and 1 more messages] Ian Jackson
2012-12-07 9:37 ` Roger Pau Monné [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=50C1B8CA.7020609@citrix.com \
--to=roger.pau@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).