Diff for /wikisrc/ports/xen/howto.mdwn between versions 1.158 and 1.159

version 1.158, 2018/09/05 09:16:10 version 1.159, 2018/09/05 09:25:10
Line 115  Once this is done, install the Xen kerne Line 115  Once this is done, install the Xen kerne
 # cp /usr/pkg/xen48-kernel/xen.gz /  # cp /usr/pkg/xen48-kernel/xen.gz /
 """]]  """]]
   
 Then, place a NetBSD XEN3_DOM0 kernel in the `/` directory, copied from  Then, place a NetBSD XEN3_DOM0 kernel in the `/` directory. Such kernel
 `releasedir/amd64/binary/kernel/netbsd-XEN3_DOM0.gz` of a NetBSD build.  can either be compiled manually, or downloaded from the NetBSD FTP, for
   example at:
   
   [[!template id=programlisting text="""
   ftp.netbsd.org/pub/NetBSD/NetBSD-8.0/amd64/binary/kernel/netbsd-XEN3_DOM0.gz
   """]]
   
 Add a line to /boot.cfg to boot Xen:  Add a line to /boot.cfg to boot Xen:
   
Line 124  Add a line to /boot.cfg to boot Xen: Line 129  Add a line to /boot.cfg to boot Xen:
 menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=512M  menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=512M
 """]]  """]]
   
 which specifies that the dom0 should have 512MB of ram, leaving the rest  This specifies that the dom0 should have 512MB of ram, leaving the rest
 to be allocated for domUs.  To use a serial console, use  to be allocated for domUs.  To use a serial console, use:
   
 [[!template id=filecontent name="/boot.cfg" text="""  [[!template id=filecontent name="/boot.cfg" text="""
 menu=Xen:load /netbsd-XEN3_DOM0.gz;multiboot /xen.gz dom0_mem=512M console=com1 com1=9600,8n1  menu=Xen:load /netbsd-XEN3_DOM0.gz;multiboot /xen.gz dom0_mem=512M console=com1 com1=9600,8n1
Line 145  more) and to pin that vcpu to a physical Line 150  more) and to pin that vcpu to a physical
 and other than dom0 memory and max_vcpus, they are generally not  and other than dom0 memory and max_vcpus, they are generally not
 necessary.  necessary.
   
   Copy the boot scripts into `/etc/rc.d`:
   
   [[!template id=programlisting text="""
   # cp /usr/pkg/share/examples/rc.d/xen* /etc/rc.d/
   """]]
   
 Enable `xencommons`:  Enable `xencommons`:
   
 [[!template id=filecontent name="/etc/rc.conf" text="""  [[!template id=filecontent name="/etc/rc.conf" text="""

Removed from v.1.158  
changed lines
  Added in v.1.159


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