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] Ideas for PV on SeaBIOS

To: "Jan Beulich" <JBeulich@xxxxxxxxxx>, "Daniel Castro" <evil.dani@xxxxxxxxx>
Subject: RE: [Xen-devel] Ideas for PV on SeaBIOS
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 19 May 2011 19:32:04 +1000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, seabios@xxxxxxxxxxx
Delivery-date: Thu, 19 May 2011 02:33:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DD4EC2502000078000420F7@xxxxxxxxxxxxxxxxxx>
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: <BANLkTikE+98CEbfcW4-M_7ECkiyTmnAMjg@xxxxxxxxxxxxxx> <4DD4EC2502000078000420F7@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwV++eh9V/bksdsSPuVxdWOYn1ndQACy0Ng
Thread-topic: [Xen-devel] Ideas for PV on SeaBIOS
> 
> >>> On 19.05.11 at 07:33, Daniel Castro <evil.dani@xxxxxxxxx> wrote:
> > In order to give PV Drivers to SeaBIOS we will need to solve a few
> > problems, one is the following:
> > Does a booting kernel informs the BIOS that it will leave real mode
> > and not use it again? When the booting kernel uses CPU real mode for
> > the last time, how can we (Xen or SeaBIOS) know that real mode will
no
> > longer be used, and hence BIOS calls will not be issued?
> > We want upon last real mode usage to leave all Xen PV information in
a
> > clean state, this means, closing the channel and ring between the
> > newly created domain and the host system.
> 
> How can you be certain an OS won't switch back to real mode even
> after an extended period of up-time? Or that such switching back
> would affect you (could be calling e.g. the video or PCI BIOS
> functions only).

Well that's a problem with any device with a real mode counterpart (eg
INT13 for storage) isn't it? so just handle it in the same way.

James

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