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

version 1.120, 2016/12/20 16:21:21 version 1.124, 2016/12/20 17:48:53
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 216  Build problems Line 216  Build problems
 --------------  --------------
   
 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.  However, that isn't always the case.  versions of NetBSD/amd64, to the point where this section would be
 Besides aging code and aging compilers, qemu (included in xentools for  silly.  However, that has not always been the case.  Besides aging
 HVM support) is difficult to build.  The following are known to be ok  code and aging compilers, qemu (included in xentools for HVM support)
 or FAIL, with the date last checked.:  is difficult to build.  Note that there is intentionally no data for
   4.5 and up for i386.  The following are known to be ok or FAIL, with
         xenkernel3 netbsd-6 i386 FAIL  the date last checked (generally on the most recent quarterly branch):
         xentools3 netbsd-6 i386  
         xentools3-hvm netbsd-6 i386 FAIL (dependencies fail)          xenkernel3 netbsd-6 i386 FAIL 201612
         xenkernel33 netbsd-6 i386          xenkernel33 netbsd-6 i386 FAIL 201612
         xentools33 netbsd-6 i386          xenkernel41 netbsd-6 i386 ok 201612
         xenkernel41 netbsd-6 i386          xenkernel42 netbsd-6 i386 ok 201612
         xentools41 netbsd-6 i386          xentools3 netbsd-6 i386 ok 201412
         xenkernel42 netbsd-6 i386          xentools3-hvm netbsd-6 i386 FAIL 201412
         xentools42 netbsd-6 i386 *MIXED          xentools33 netbsd-6 i386 ok 201412
           xentools41 netbsd-6 i386 ok 201412
         (all 3 and 33 seem to FAIL)          xentools42 netbsd-6 i386 mixed 201412
         xenkernel41 netbsd-7 i386  
         xentools41 netbsd-7 i386          xenkernel3 netbsd-7 i386 FAIL 201412
         xenkernel42 netbsd-7 i386          xenkernel33 netbsd-7 i386 FAIL 201412
         xentools42 netbsd-7 i386 ??FAIL          xenkernel41 netbsd-7 i386 ok 201412
           xenkernel42 netbsd-7 i386 ok 201412
           xentools41 netbsd-7 i386 ok 201412
           xentools42 netbsd-7 i386 ??FAIL 201412
   
           xenkernel3 netbsd-6 amd64 FAIL 201612
           xenkernel33 netbsd-6 amd64 FAIL 201612
           xenkernel41 netbsd-6 amd64 ok 201612
           xenkernel42 netbsd-6 amd64 ok 201612
           xenkernel45 netbsd-6 amd64 ok 201612
           xenkernel46 netbsd-6 amd64 ok 201612
           xentools41 netbsd-6 amd64 ok 201612
           xentools42 netbsd-6 amd64 ok 201612
           xentools45 netbsd-6 amd64 ok 201612
           xentools46 netbsd-6 amd64 FAIL 201612
   
           xenkernel3 netbsd-7 amd64 ok 201612
           xenkernel33 netbsd-7 amd64 ok 201612
           xenkernel41 netbsd-7 amd64 ok 201612
           xenkernel42 netbsd-7 amd64 ok 201612
           xenkernel45 netbsd-7 amd64 ok 201612
           xenkernel46 netbsd-7 amd64 ok 201612
           xentools3 netbsd-7 amd64 ok 201612
           xentools3-hvm netbsd-7 amd64 ok 201612
           xentools33 netbsd-7 amd64 FAIL 201612
           xentools41 netbsd-7 amd64 ok 201612
           xentools42 netbsd-7 amd64 ok 201612
           xentools45 netbsd-7 amd64 ok 201612
           xentools46 netbsd-7 amd64 ok 201612
   
 NetBSD as a dom0  NetBSD as a dom0
 ================  ================

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


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