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

[Xen-devel] Re: [RFC] [PATCH] xen, vtd: Check ownership of a domain cont

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [RFC] [PATCH] xen, vtd: Check ownership of a domain context using internal structures
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Wed, 27 Jul 2011 11:52:03 +0100
Cc: Jiang Yunhong <yunhong.jiang@xxxxxxxxx>, Keir Fraser <keir@xxxxxxx>
Delivery-date: Wed, 27 Jul 2011 03:52:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=upipQJRk3xkMF2D+OahOY3VBcnnt/KSt5zT/47B3k9o=; b=GMoPIEEYMqLmtO+VJHYmNReVxc5UWWK7G1dlgchSPQn+qNvYqpaTVP1uzsHEn8zSFb RVpIRDrYmMvDA3q6eQdcEcJYGRr4rr8aizkyctavM3DwFZSZYx5N7HYW3ZHQLuDZf5pz Ns7AMy6+ohCdiCLo1kndWhYSAzuu+8nYAyHPE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAFLBxZatO6Pih1KcsVovs6g1o6Ux1fSUwGmS-xDmTQaTWf61uw@xxxxxxxxxxxxxx>
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: <CAFLBxZatO6Pih1KcsVovs6g1o6Ux1fSUwGmS-xDmTQaTWf61uw@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
And in a related note...

What is the implication of the "Devices on a bus behind a bridge look
like they're coming from X:0.0" for passing virtual functions through
to different VMs?  Will it simply not work (since the mapping of X:0.0
can't be owned by both)?  Is there a way it can be made to work
without allowing the virtual function of one domain access to the
memory of the other domain?

 -George

On Wed, Jul 27, 2011 at 11:36 AM, George Dunlap
<George.Dunlap@xxxxxxxxxxxxx> wrote:
> Keir, Jan, et al:
>
> Can you take a look at this patch to see if you think this is the
> right way to solve this problem?
>
> This particular patch is still being tested by the partner who saw the
> problem; but a less safe change -- just returning "OK" if the pci
> device didn't exist -- did solve the problem.  It seemed like this
> check was probably there for a reason, so I wanted to keep it in
> place.  (Although the c/s in which this check was introduced,
> 18906:2941b1a9, only mentioned locking changes, not introduction of
> new checks.)
>
> Thanks,
>  -George
>

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