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] 32-on-64: pvfb issue

To: Gerd Hoffmann <kraxel@xxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] 32-on-64: pvfb issue
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 18 Jan 2007 18:31:39 +0000
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 18 Jan 2007 10:33:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45AF93A7.50107@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc7LuRpIrFEJ6ciEdu4iwAX8io7RQ==
Thread-topic: [Xen-devel] 32-on-64: pvfb issue
User-agent: Microsoft-Entourage/11.2.5.060620
On 18/1/07 15:35, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:

>> Excuse my ignorance, but why do you have to guess the guest's size?
>> Doesn't dom0 know?
> 
> No, right now there is no hypercall to get that information.  Which
> brings the discussion back onto the table:  Should we add one?  pvfb
> isn't the only driver with that kind of problems.
> 
> And it better shouldn't be a dom0-only hypercall, otherwise driver
> domains will not be able to use it ...

Do the same as you did with blkback. Add a protocol version or bitwidth
field to xenstore. Update frontend driver to write that field. Make tools
write a default value for pv guests for backward compat. This is even better
than with blkfront/blkback because there are definitely no PV-on-HVM pvfb
driver frontends out in the wild (and it's HVM that makes things harder).

Speaking of which, we should add the protocol/bitwidth field to blkfront
asap...

 -- Keir


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