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

At 09:08 +0100 on 19 May (1305796117), Jan Beulich wrote:
> 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).

You can't, but you could always try to re-establish PV connections if
the guest starts making INT13h call again.  In any case the existing
BIOS has this problem if the PV drivers have turned off the emulated
devices.

As for how you tidy up cleanly, I can't think of anything better than a
sort of virtual SMM, where you register an area of code to be run in a
known sane environment and have Xen trigger it based on, e.g. the
disable-my-devices ioport write.   It's pretty ugly but at least it'd be
fairly self-contained compared to having Xen or qemu try to tear down
grant-table entries &c. 

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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