Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Removing the XEN_COMPAT_030001 cruft



On Tue, Jun 26, 2012 at 10:27:38AM +0100, Jean-Yves Migeon wrote:
> Le 26/06/2012 10:02, Manuel Bouyer a écrit :
> >On Tue, Jun 26, 2012 at 12:24:56AM +0200, Jean-Yves Migeon wrote:
> >>Dear all,
> >>
> >>Now that -6 has been branched, I would like to remove the
> >>XEN_COMPAT_030001 code that lies here and there in the source tree.
> >>
> >>Reasons are following:
> >>- first, it simplifies code reading by making the P2M/M2P
> >>translations
> >>the same for dom0 and domU, without having to play with XPMAP_OFFSET
> >>tricks for old domU images.
> >>- it forces the use of the hypercall page. The int 0x82 for
> >>hypercalls
> >>has disappeared with newest revision of Xen (4.0 or 4.1 if
> >>memory serves
> >>right).
> >>-  It allows the merge of the xpmap_mtop and the mfn_to_pfn
> >>functions in
> >>one go, using the xen_p2m_*() API Christoph and I drafted some
> >>years ago [1]
> >>- last but not least, all supported Linux distros out there
> >>either use a
> >>heavily patched Xen 3.0.3 hypervisor (RHEL 5), or simply made
> >>the jump
> >>to Xen 4 (Debian, Ubuntu, ...). 3.0.1 and down are not really
> >>maintained
> >>any more IMHO, and should be avoided for security reasons.
> >>
> >>Opinions?
> >
> >Isn't it still required by some amazon setup ?
> 
> When reported (or queried via "version" hypercall), the oldest
> hypervisor I have seen is 3.0.3 (same one as RHEL 5 probably).

OK, so no objection from me.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index