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] ioperm problem

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] ioperm problem
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 17 Nov 2011 10:05:57 -0800
Cc: ja <pavel@xxxxxxxxxx>, Pavel Matě, xen-devel@xxxxxxxxxxxxxxxxxxx, tom.goetz@xxxxxxxxxxxxxxxxxxx, Ben Guthro <ben.guthro@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Nov 2011 10:07:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111117173010.GA3623@xxxxxxxxxxxxxxxxxxx>
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: <201111132219.07211.pavel@xxxxxxxxxx> <20111116145730.GA11502@xxxxxxxxxxxxxxxxxxx> <4EC51292.7000302@xxxxxxxxxxxxxxxxxxx> <20111117173010.GA3623@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1
On 11/17/2011 09:30 AM, Konrad Rzeszutek Wilk wrote:
> On Thu, Nov 17, 2011 at 08:56:34AM -0500, Ben Guthro wrote:
>> Attached is our patch to work around issues with the ioports with
>> some older nVidia cards.
>>
>> This, admittedly is a bit of a hack, and not exactly something that
>> I would see upstream wanting to carry, for a variety of reasons. It
>> really should all be predicated on whether the kernel is the initial
>> domain, etc.
>>
>> This opens up the legacy VGA ports in the VGA arbiter code.
> Was there a userspace program that did this? As in it would
> call ioperm?
>
>> Konrad - I think that you had suggested an alternate way of doing
>> this, IIRC, but I can't seem to find it in my inbox. Due to
>> competing demands, and my nVidia hardware disappearing, I never went
>> back to rework this code.
> Ah, I might have some code that I just uncovered from Jeremy's old
> git tree.
>
> I've put it up on devel/ioperm - it nicely wraps the ioperm
> call to go the native or paravirt.

Yeah, I'd sort of let that sit, since there's nothing in a "modern"
system which should require it.  Allowing usermode to poke at ioports
from within a domain is inherently suspect, after all.

    J

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

<Prev in Thread] Current Thread [Next in Thread>