Diff for /wikisrc/ports/xen/howto.mdwn between versions 1.121 and 1.125

version 1.121, 2016/12/20 16:30:32 version 1.125, 2016/12/20 18:26:11
Line 27  code for Xen and need not be aware that  Line 27  code for Xen and need not be aware that 
 Attempts to access hardware registers are trapped and emulated.  This  Attempts to access hardware registers are trapped and emulated.  This
 style is less efficient but can run unmodified guests.  style is less efficient but can run unmodified guests.
   
 Generally any amd64 machine will work with Xen and PV guests.  In  Generally any machine that runs NetBSD/amd64 will work with Xen and PV
 theory i386 computers without amd64 support can be used for Xen <=  guests.  In theory i386 computers (without x86_64/amd64 support) can
 4.2, but we have no recent reports of this working (this is a hint).  be used for Xen <= 4.2, but we have no recent reports of this working
 For HVM guests, hardware support is needed, but it is common on recent  (this is a hint).  For HVM guests, hardware support is needed, but it
 machines.  For Intel CPUs, one needs the VT-x extension, shown in  is common on recent machines.  For Intel CPUs, one needs the VT-x
 "cpuctl identify 0" as VMX.  For AMD CPus, one needs the AMD-V  extension, shown in "cpuctl identify 0" as VMX.  For AMD CPUs, one
 extensions, shown in "cpuctl identify 0" as SVM.  There are further  needs the AMD-V extensions, shown in "cpuctl identify 0" as SVM.
 features for IOMMU virtualization, Intel's VT-d and AMD's AMD-Vi.  There are further features for IOMMU virtualization, Intel's VT-d and
 TODO: Explain whether Xen on NetBSD makes use of these features.  AMD's AMD-Vi.  TODO: Explain whether Xen on NetBSD makes use of these
 TODO: Review by someone who really understands this.  features.  TODO: Review by someone who really understands this.
   
 Note a FreeBSD dom0 requires VT-x and VT-d (or equivalent); this is  Note that a FreeBSD dom0 requires VT-x and VT-d (or equivalent); this
 because the FreeBSD dom0 does not run in PV mode.  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
Line 51  attempts to address both the case of run Line 51  attempts to address both the case of run
 and running domUs under it (NetBSD and other), and also running NetBSD  and running domUs under it (NetBSD and other), and also running NetBSD
 as a domU in a VPS.  as a domU in a VPS.
   
 Some versions of Xen support "PCI passthrough", which means that  Xen 3.1 in pkgsrc supports "PCI passthrough", which means that
 specific PCI devices can be made available to a specific domU instead  specific PCI devices can be made available to a specific domU instead
 of the dom0.  This can be useful to let a domU run X11, or access some  of the dom0.  This can be useful to let a domU run X11, or access some
 network interface or other peripheral.  network interface or other peripheral.
Line 69  things must be done, guiding the reader  Line 69  things must be done, guiding the reader 
 path when there are no known good reasons to stray.  path when there are no known good reasons to stray.
   
 This HOWTO presumes a basic familiarity with the Xen system  This HOWTO presumes a basic familiarity with the Xen system
 architecture.  This HOWTO presumes familiarity with installing NetBSD  architecture, with installing NetBSD on i386/amd64 hardware, and with
 on i386/amd64 hardware and installing software from pkgsrc.  installing software from pkgsrc.  See also the [Xen
 See also the [Xen website](http://www.xenproject.org/).  website](http://www.xenproject.org/).
   
 Versions of Xen and NetBSD  Versions of Xen and NetBSD
 ==========================  ==========================
Line 212  xl, the NetBSD 7 stable branch, and to u Line 212  xl, the NetBSD 7 stable branch, and to u
 dom0.  Either the i386PAE or amd64 version of NetBSD may be used as  dom0.  Either the i386PAE or amd64 version of NetBSD may be used as
 domUs.  domUs.
   
 Build problems  Status
 --------------  ------
   
 Ideally, all versions of Xen in pkgsrc would build on all supported  Ideally, all versions of Xen in pkgsrc would build on all supported
 versions of NetBSD/amd64, to the point where this section would be  versions of NetBSD/amd64, to the point where this section would be
 silly.  However, that has not always been the case.  Besides aging  silly.  However, that has not always been the case.  Besides aging
 code and aging compilers, qemu (included in xentools for HVM support)  code and aging compilers, qemu (included in xentools for HVM support)
 is difficult to build.  The following are known to be ok or FAIL, with  is difficult to build.  Note that there is intentionally no data for
 the date last checked:  4.5+ up for i386, and often omits xentools info if the corresponding
   kernel fails.
         xenkernel3 netbsd-6 i386 FAIL 201412  
         xenkernel33 netbsd-6 i386 ok 201412  The following table gives status, with the date last checked
         xenkernel41 netbsd-6 i386 ok 201412  (generally on the most recent quarterly branch).  The first code is
         xenkernel42 netbsd-6 i386 ok 201412  "builds" if it builds ok, and "FAIL" for a failure to build.  The
         xentools3 netbsd-6 i386 ok 201412  second code/date only appears for xenkernel* and is "works" if it runs
         xentools3-hvm netbsd-6 i386 FAIL 201412  ok as a dom0, and "FAIL" if it won't boot or run a domU.
         xentools33 netbsd-6 i386 ok 201412  
         xentools41 netbsd-6 i386 ok 201412          xenkernel3 netbsd-6 i386 FAIL 201612
         xentools42 netbsd-6 i386 mixed 201412          xenkernel33 netbsd-6 i386 FAIL 201612
           xenkernel41 netbsd-6 i386 builds 201612
         (all 3 and 33 seem to FAIL)          xenkernel42 netbsd-6 i386 builds 201612
         xenkernel41 netbsd-7 i386 ok 201412          xentools3 netbsd-6 i386 builds 201412
         xenkernel42 netbsd-7 i386 ok 201412          xentools3-hvm netbsd-6 i386 FAIL 201412
         xentools41 netbsd-7 i386 ok 201412          xentools33 netbsd-6 i386 builds 201412
         xentools42 netbsd-7 i386 ??FAIL 201412          xentools41 netbsd-6 i386 builds 201612
           xentools42 netbsd-6 i386 ? 201412
         xenkernel33 netbsd-6 amd64 ok 201612  
         xenkernel42 netbsd-6 amd64 ok 201612          xenkernel3 netbsd-7 i386 FAIL 201412
         xenkernel45 netbsd-6 amd64 ok 201612          xenkernel33 netbsd-7 i386 FAIL 201412
         xenkernel46 netbsd-6 amd64 ok 201612          xenkernel41 netbsd-7 i386 builds 201412
         xentools42 netbsd-6 amd64 ok 201612          xenkernel42 netbsd-7 i386 builds 201412
         xentools45 netbsd-6 amd64 ok 201612          xentools41 netbsd-7 i386 builds 201412
           xentools42 netbsd-7 i386 ??FAIL 201412
         xenkernel3 netbsd-7 amd64 ok 201612  
         xenkernel33 netbsd-7 amd64 ok 201612          xenkernel3 netbsd-6 amd64 FAIL 201612
         xenkernel41 netbsd-7 amd64 ok 201612          xenkernel33 netbsd-6 amd64 FAIL 201612
         xenkernel42 netbsd-7 amd64 ok 201612          xenkernel41 netbsd-6 amd64 builds 201612 works 201612
         xenkernel45 netbsd-7 amd64 ok 201612          xenkernel42 netbsd-6 amd64 builds  201612 works 201612
         xenkernel46 netbsd-7 amd64 ok 201612          xenkernel45 netbsd-6 amd64 builds 201612
         xentools3 netbsd-7 amd64 ok 201612          xenkernel46 netbsd-6 amd64 builds 201612
         xentools3-hvm netbsd-7 amd64 ok 201612          xentools41 netbsd-6 amd64 builds 201612
           xentools42 netbsd-6 amd64 builds 201612
           xentools45 netbsd-6 amd64 builds 201612
           xentools46 netbsd-6 amd64 FAIL 201612
   
           xenkernel3 netbsd-7 amd64 builds 201612
           xenkernel33 netbsd-7 amd64 builds 201612
           xenkernel41 netbsd-7 amd64 builds 201612
           xenkernel42 netbsd-7 amd64 builds 201612
           xenkernel45 netbsd-7 amd64 builds 201612
           xenkernel46 netbsd-7 amd64 builds 201612
           xentools3 netbsd-7 amd64 builds 201612
           xentools3-hvm netbsd-7 amd64 builds 201612
         xentools33 netbsd-7 amd64 FAIL 201612          xentools33 netbsd-7 amd64 FAIL 201612
         xentools41 netbsd-7 amd64 ok 201612          xentools41 netbsd-7 amd64 builds 201612
         xentools42 netbsd-7 amd64 ok 201612          xentools42 netbsd-7 amd64 builds 201612
         xentools45 netbsd-7 amd64 ok 201612          xentools45 netbsd-7 amd64 builds 201612
         xentools46 netbsd-7 amd64 ok 201612          xentools46 netbsd-7 amd64 builds 201612
   
 NetBSD as a dom0  NetBSD as a dom0
 ================  ================

Removed from v.1.121  
changed lines
  Added in v.1.125


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