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][PATCH] PV driver compatibility

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [xen-devel][PATCH] PV driver compatibility
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 22 Jan 2010 09:07:45 +0000
Cc: ksrinivasan <ksrinivasan@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 22 Jan 2010 01:08:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1264149821.21707.88.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqbPwIyJv/6OtpGS1i4SpcLqhFUwAAA1n7x
Thread-topic: [xen-devel][PATCH] PV driver compatibility
User-agent: Microsoft-Entourage/12.23.0.091001
On 22/01/2010 08:43, "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx> wrote:

>>> The protocol allows for coarse grained selection of which devices to
>>> unplug:
>>> 6) The drivers write a two-byte bitmask of devices to unplug to IO
>>>    port 0x10.  The defined fields are:
>> 
>> Well, the flexibility is nice, but not a feature that driver currently
>> actually uses.
>> 
>> My default action right now will be to add a module option to specify
>> selective or complete flushing, keep the patch, but only fail to load
>> drivers if flush is requested but not possible, otherwise just warn.
> 
> Sounds good, what will the default flush setting be?

None. Those who are switching from emulated to pv should know what they are
doing and specify the module option.

> Could you swap out the 0xdead and 0xbeef for the defines which are
> specified right above the function in question while you are there?

Yep.

 -- Keir



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