Diff for /wikisrc/ports/xen/howto.mdwn between versions 1.116 and 1.120

version 1.116, 2016/12/20 14:52:43 version 1.120, 2016/12/20 16:21:21
Line 38  features for IOMMU virtualization, Intel Line 38  features for IOMMU virtualization, Intel
 TODO: Explain whether Xen on NetBSD makes use of these features.  TODO: Explain whether Xen on NetBSD makes use of these features.
 TODO: Review by someone who really understands this.  TODO: Review by someone who really understands this.
   
   Note a FreeBSD dom0 requires VT-x and VT-d (or equivalent); this is
   because the FreeBSD dom0 does not run in PV mode.
   
 At boot, the dom0 kernel is loaded as a module with Xen as the kernel.  At boot, the dom0 kernel is loaded as a module with Xen as the kernel.
 The dom0 can start one or more domUs.  (Booting is explained in detail  The dom0 can start one or more domUs.  (Booting is explained in detail
 in the dom0 section.)  in the dom0 section.)
Line 108  need to use xm instead of xl, or if you  Line 111  need to use xm instead of xl, or if you 
 (because your hardware is i386 only).  (because your hardware is i386 only).
   
 xenkernel45 provides Xen 4.5.  As of 2016-12, security patches were  xenkernel45 provides Xen 4.5.  As of 2016-12, security patches were
 released by Xen and applied to pkgsrc.  Xen 4.5 requires an amd64  released by Xen and applied to pkgsrc.  Xen 4.5 requires using a dom0
 dom0, but domUs can be amd64 or i386 PAE.  TODO: It is either a  running NetBSD's amd64 port (Intel or AMD hardware is fine), but domUs
 conservative choice or somewhat old.  can be amd64 or i386 PAE.  TODO: It is either a conservative choice or
   somewhat old.
   
 xenkernel46 provides Xen 4.6.  It is new to pkgsrc as of 2016-05.  As  xenkernel46 provides Xen 4.6.  It is new to pkgsrc as of 2016-05.  As
 of 2016-12, security patches were released by Xen and applied to  of 2016-12, security patches were released by Xen and applied to
 pkgsrc.  Xen 4.6 requires an amd64 dom0, but domUs can be amd64 or  pkgsrc.  Xen 4.6 similarly requires a NetBSD/amd64 dom0, but domUs can
 i386 PAE.  TODO: It is either a somewhat aggressive choice or the  be amd64 or i386 PAE.  TODO: It is either a somewhat aggressive choice
 standard choice  or the standard choice.
   
 Xen 4.7 (released 2016-06) and 4.8 (released 2016-12) are not yet in  Xen 4.7 (released 2016-06) and 4.8 (released 2016-12) are not yet in
 pkgsrc.  pkgsrc.
Line 144  NetBSD Line 148  NetBSD
 The netbsd-6, netbsd-7, and -current branches are all reasonable  The netbsd-6, netbsd-7, and -current branches are all reasonable
 choices, with more or less the same considerations for non-Xen use.  choices, with more or less the same considerations for non-Xen use.
 Therefore, netbsd-7 is recommended as the stable version of the most  Therefore, netbsd-7 is recommended as the stable version of the most
 recent release for production use.  For those wanting to learn Xen or  recent release for production use.  In addition, netbsd-7 and -current
 without production stability concerns, netbsd-7 is still likely most  have a important scheduler fix (in November of 2015) affecting
 appropriate, but -current is also a reasonable choice.  Xen runs fine  contention between dom0 and domUs; see
 on netbsd-5, but the xentools packages are likely difficult to build.  https://releng.netbsd.org/cgi-bin/req-7.cgi?show=1040 for a
   description.  For those wanting to learn Xen or without production
   stability concerns, netbsd-7 is still likely most appropriate, but
   -current is also a reasonable choice.  (Xen runs ok on netbsd-5, but
   the xentools packages are likely difficult to build, and netbsd-5 is
   not supported.)
   
 As of NetBSD 6, a NetBSD domU will support multiple vcpus.  There is  As of NetBSD 6, a NetBSD domU will support multiple vcpus.  There is
 no SMP support for NetBSD as dom0.  (The dom0 itself doesn't really  no SMP support for NetBSD as dom0.  (The dom0 itself doesn't really
Line 206  domUs. Line 215  domUs.
 Build problems  Build problems
 --------------  --------------
   
 Ideally, all versions of Xen in pkgsrc would build on all versions of  Ideally, all versions of Xen in pkgsrc would build on all supported
 NetBSD on both i386 and amd64.  However, that isn't the case.  Besides  versions of NetBSD/amd64.  However, that isn't always the case.
 aging code and aging compilers, qemu (included in xentools for HVM  Besides aging code and aging compilers, qemu (included in xentools for
 support) is difficult to build.  The following are known to work or FAIL:  HVM support) is difficult to build.  The following are known to be ok
   or FAIL, with the date last checked.:
         xenkernel3 netbsd-5 amd64  
         xentools3 netbsd-5 amd64  
         xentools3=hvm netbsd-5 amd64 ????  
         xenkernel33 netbsd-5 amd64  
         xentools33 netbsd-5 amd64  
         xenkernel41 netbsd-5 amd64  
         xentools41 netbsd-5 amd64  
         xenkernel42 netbsd-5 amd64  
         xentools42 netbsd-5 amd64  
   
         xenkernel3 netbsd-6 i386 FAIL          xenkernel3 netbsd-6 i386 FAIL
         xentools3 netbsd-6 i386          xentools3 netbsd-6 i386
Line 237  support) is difficult to build.  The fol Line 237  support) is difficult to build.  The fol
         xenkernel42 netbsd-7 i386          xenkernel42 netbsd-7 i386
         xentools42 netbsd-7 i386 ??FAIL          xentools42 netbsd-7 i386 ??FAIL
   
 (*On netbsd-6 i386, there is a xentools42 in the 2014Q3 official builds,  
 but it does not build for gdt.)  
   
 NetBSD as a dom0  NetBSD as a dom0
 ================  ================
   
Line 1097  TODO items for improving NetBSD/xen Line 1094  TODO items for improving NetBSD/xen
 Random pointers  Random pointers
 ===============  ===============
   
 TODO: This section contains links from elsewhere not yet integrated  This section contains links from elsewhere not yet integrated into the
 into the HOWTO.  HOWTO, and other guides.
   
 * http://www.lumbercartel.ca/library/xen/  * http://www.lumbercartel.ca/library/xen/
 * http://pbraun.nethence.com/doc/sysutils/xen_netbsd_dom0.html  * http://pbraun.nethence.com/doc/sysutils/xen_netbsd_dom0.html
   * https://gmplib.org/~tege/xen.html

Removed from v.1.116  
changed lines
  Added in v.1.120


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb