Diff for /wikisrc/ports/xen/howto.mdwn between versions 1.197 and 1.200

version 1.197, 2021/03/03 23:17:59 version 1.200, 2021/03/07 01:06:00
Line 49  See [PV](https://wiki.xen.org/wiki/Parav Line 49  See [PV](https://wiki.xen.org/wiki/Parav
   
 In HVM mode, no guest modification is required; however, hardware  In HVM mode, no guest modification is required; however, hardware
 support is required, such as VT-x on Intel CPUs and SVM on AMD CPUs.  support is required, such as VT-x on Intel CPUs and SVM on AMD CPUs.
 The dom0 runs qemu to emulate hardware.  The dom0 runs qemu to emulate hardware.  It is therefore non-sensical
   to have an HVM dom0.
   
 In PVHVM mode, the guest runs as HVM, but additionally can use PV  In PVHVM mode, the guest runs as HVM, but additionally can use PV
 drivers for efficiency.  drivers for efficiency.  Therefore it is non-sensical for to have a
 See [PV on HVM](https://wiki.xen.org/wiki/PV_on_HVM).  PVHVM dom0.  See [PV on HVM](https://wiki.xen.org/wiki/PV_on_HVM).
   
 There have been two PVH modes: original PVH and PVHv2.  Original PVH  There have been two PVH modes: original PVH and PVHv2.  Original PVH
 was based on PV mode and is no longer relevant at all.  PVHv2 is  was based on PV mode and is no longer relevant at all.  PVHv2 is
Line 160  ftp.netbsd.org/pub/NetBSD/NetBSD-9.1/amd Line 161  ftp.netbsd.org/pub/NetBSD/NetBSD-9.1/amd
   
 ### Configuring booting  ### Configuring booting
   
 Read boot.cfg(8) carefully.  Add lines to /boot.cfg to boot Xen:  Read boot.cfg(8) carefully.  Add lines to /boot.cfg to boot Xen,
   adjusting for your root filesystem:
   
 [[!template id=filecontent name="/boot.cfg" text="""  [[!template id=filecontent name="/boot.cfg" text="""
 menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=512M  menu=Xen:load /netbsd-XEN3_DOM0.gz root=wd0a console=pc;multiboot /xen.gz dom0_mem=512M
 menu=Xen single user:load /netbsd-XEN3_DOM0.gz console=pc -s;multiboot /xen.gz dom0_mem=512M  menu=Xen single user:load /netbsd-XEN3_DOM0.gz root=wd0a console=pc -s;multiboot /xen.gz dom0_mem=512M
 """]]  """]]
   
 This 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
Line 179  fixing problems is the standard prudent  Line 181  fixing problems is the standard prudent 
 \todo Explain why rndseed is not set with Xen as part of the dom0  \todo Explain why rndseed is not set with Xen as part of the dom0
 subconfiguration.  subconfiguration.
   
   Note that you are likely to have to set root= because the boot device
   from /boot is not passed via Xen to the dom0 kernel.  With one disk,
   it will work, but e.g. plugging in USB disk to a machine with root on
   wd0a causes boot to fail.
   
 Beware that userconf statements must be attached to the dom0 load, and  Beware that userconf statements must be attached to the dom0 load, and
 may not be at top-level, because then they would try to configure the  may not be at top-level, because then they would try to configure the
 hypervisor, if there is a way to pass them via multiboot .  It appears  hypervisor, if there is a way to pass them via multiboot .  It appears
Line 355  the dom0.  NetBSD's /dev/random system w Line 362  the dom0.  NetBSD's /dev/random system w
   
 ## Config files  ## Config files
   
 See /usr/pkg/share/examples/xen/xlexample*  See /usr/pkg/share/examples/xen/xlexample* for a very small number of
 for a small number of well-commented examples, mostly for running  examples for running GNU/Linux.
 GNU/Linux.  
   
 The following is an example minimal domain configuration file. The domU  The following is an example minimal domain configuration file. The domU
 serves as a network file server.  serves as a network file server.
Line 380  are stored in files and Xen attaches the Line 386  are stored in files and Xen attaches the
 dom0 on domain creation.  The system treats xbd0 as the boot device  dom0 on domain creation.  The system treats xbd0 as the boot device
 without needing explicit configuration.  without needing explicit configuration.
   
 There is not type line; that implicitly defines a pv domU.  There is not type line; that implicitly defines a pv domU.  Otherwise,
   one sets type to the lower-case version of the domU type in the table
   above, e.g.  `type = "hvm"`.
   
 By convention, domain config files are kept in `/usr/pkg/etc/xen`.  Note  By convention, domain config files are kept in `/usr/pkg/etc/xen`.  Note
 that "xl create" takes the name of a config file, while other commands  that "xl create" takes the name of a config file, while other commands

Removed from v.1.197  
changed lines
  Added in v.1.200


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