WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Possible bug with pass-through hot-plug?

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Possible bug with pass-through hot-plug?
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Mon, 19 Oct 2009 04:27:47 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 18 Oct 2009 19:28:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jUORDpzqgegMXu3le0arBgQOf3dBtclHb8ZlQHCpUVU=; b=DY9BeYdbPMNaeRPtzThkrkqH5Y+AseQn0XK4yM2en+xX1caCT0uIOP90RFy07C323S QuJD4vBM5q3gymeLbtvtmc4TnxsRga1APmx4dTIYmXItlXovyXw0W7fg0lMpPol9PyD1 FN/jI6Geznq+CYovJQpBI7eoyhTHCzF1XG/bQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Sa0R99El1zVT3Dl2v5Je80fpuL48FFoeElK5sTOEeCQmCoTBPenKSnTBjVt9pje8uC ebPHn3mfvSXthGCKNBeDO+Gg0XPSQC2fhqrWie9gnJG78G3oR26cECjvLitVxWJVzQzm 46stwtFY41gf7dHxpt20dX+19AWM7tFfMAvSc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091019020901.GG11338@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20091012223616.GC9072@xxxxxxxxxxxx> <20091013094345.GA16712@xxxxxxxxxxxx> <8686c3cd0910130252m6a57388cv8b4d5211a14a4998@xxxxxxxxxxxxxx> <20091015093107.GA11293@xxxxxxxxxxxx> <8686c3cd0910150238h3d79d81dse8ee1ecb8f5350f2@xxxxxxxxxxxxxx> <20091015110632.GA14946@xxxxxxxxxxxx> <8686c3cd0910150702l542f75cbq6ffeee9c1ea47057@xxxxxxxxxxxxxx> <20091016074352.GA17063@xxxxxxxxxxxx> <8686c3cd0910172220k25ba4f13kdb1ca1c6854d6fdd@xxxxxxxxxxxxxx> <20091019020901.GG11338@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
OK, so i'll try to see, if i manage to hack some working ASL code
myself, but i don't think it will work too much for me :)

So, i'll also wait for a patch from you (if and when such patch will
be released).

If i'll manage to solve it myself, i'll post the patch.

On Mon, Oct 19, 2009 at 4:09 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> Hi Tom,
>
> On Sun, Oct 18, 2009 at 07:20:05AM +0200, Tom Rotenberg wrote:
>> Simon,
>>
>> Just checked what u propsed, and it works.
>
> I must confess that I am surprised. Good work :-)
>
>> So, i'm pretty sure, that the problem is with the ASL code. I thought
>> of an implementaion change of the ASL code, which will make it work:
>> we will change it from:
>> ...
>> if ( slt == 0x1 )
>> else if (slt == 0x2)
>> ...
>> else if (slt == 0x20)
>> .,..
>>
>> to the following (just as an example):
>> if ( slt < 0x10 )
>> {
>>     if (slt == 0x1)
>> ...
>> } else {
>>     if ( slt == 0x11)
>> ...
>> }
>>
>> What do u think about this?
>
> I think that could be a good attack. To be honest I haven't done
> that much work with ASL, so I'm not sure how easy it would be
> to implement anything more sophisticated than what you suggest.
>
> The ASL code that you're hacking on was auto generated (off-line, by me)
> (unless I'm mistaken). Auto generating the replacement is probably
> a good idea. I can take a stab at that if you like, though time is
> quite tight at the moment as I'm travelling and in meetings a lot,
> so it might have to wait a week or so.
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel