On Wed, Jan 04, 2017 at 08:52:00PM +0100, Laszlo Ersek wrote:
> On 12/08/16 16:33, Anthony PERARD wrote:
> > Hi,
> > 
> > I've started to create a Xen specifig plaform, in OvmfPkg/XenOvmf.dsc
> > with the goal to make it work on both Xen HVM and Xen PVHv2
> 
> Does this mean we can ultimately move all Xen roles from the current
> platform DSC files to the new Xen DSC file entirely?

Yes, I had this in mind will working on the series. I would just need to
teach our build system (in xen.git) to look for this new platform file.

> If so (which I think I would like), then for each module M that exhibits
> all of the following properties:
> - M is dynamically customized to Xen vs. QEMU,
> - M is replaced by a dedicated module M' in the Xen DSC,
> I think we should also remove the Xen-specific code from the original M
> (as last step, likely in separate patches).
> 
> In addition, Xen platform specific device drivers should be removed as
> well from the original DSC files.
> 
> What do you think?

Yes, I think all of it sound good.

> > The first few patches only create the platform and duplicate some code from
> > OvmfPkg and the later patches (from OvmfPkg/XenPlatformPei: Add xen PVH
> > specific code) makes OVMF boot in a Xen PVH guest, and can boot a Linux.
> > 
> > == Part 1: XenOvmf.dsc
> > 
> > - OvmfPkg: Create platform XenOvmf
> > which for now remove virtio drivers and some SMM
> > 
> > - OvmfPkg/XenOvmf: Update debug IO port for Xen
> > 
> > - OvmfPkg/XenOvmf.dsc: Introduce XenResetVector
> > Just for one change, enable cache in CR0 as on Xen, OVMF run from RAM, that
> > disabling cache can make OVMF very slow.
> > 
> 
> ... I might reply to this email again (the remaining stuff), as I
> progress with the review.
> 
> Thanks
> Laszlo

Thanks,

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to