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.
as a domU in a VPS. as a domU in a VPS.
network interface or other peripheral. network interface or other peripheral.
path when there are no known good reasons to stray. path when there are no known good reasons to stray.
See also the [Xen website](http://www.xenproject.org/). website](http://www.xenproject.org/).
versions of NetBSD are intentionally ignored. versions of NetBSD are intentionally ignored.
passthrough. Xen 3.1 supports non-PAE on i386. used. It supports PCI passthrough, which is why people use it anyway.
xenkernel45 provides Xen 4.5. This is new to pkgsrc as of 2015-01 and See also the [Xen Security Advisory page](http://xenbits.xen.org/xsa/).
not yet recommended for other than experimental/testing use.
Ideally newer versions of Xen will be added to pkgsrc.
4 because the hypercall interface has been stable. 4 because the hypercall interface has been stable.
xm and xl work fine. 4.4 is the last version that has xm. You must xm and xl work fine. 4.4 is the last version that has xm.
reasonable choices, with more or less the same considerations for choices, with more or less the same considerations for non-Xen use.
One can then run i386 domUs and amd64 domUs, in any combination. If Xen/dom0 is known to support both i386 and amd64 domUs.
running an i386 NetBSD kernel as a domU, the PAE version is required.
Line 211 configuration. Line 328 configuration.
Line 234 Xen daemons when not running Xen. Line 354 Xen daemons when not running Xen.
between dom0 hosts. between dom0 hosts.
typically are) left compressed. typically are) left compressed.
than GENERIC without Xen. than GENERIC without Xen.
[old grub information](/ports/xen/howto-grub/). [old grub information](/ports/xen/howto-grub).
Line 352 Xen logs will be in /var/log/xen. Line 491 Xen logs will be in /var/log/xen.
do anything else special. Make sure that you have rebooted into Xen. do anything else special. Make sure that you have rebooted into Xen.
to configure the dom0 tools. The daemons which should be run vary to configure the dom0 daemons.
will result in a hang (so don't do that; follow the HOWTO!).
TODO: Recommend for/against xen-watchdog. TODO: Recommend for/against xen-watchdog.
after confirming on 4.2 and resolving the TODO about rc.conf.
this will get fixed any time soon. this will get fixed any time soon.
dom0 kernel compared to hardware. dom0 kernel compared to hardware.
# Install mbr bootblocks on both disks. # Install MBR bootblocks on both disks.
# Install NetBSD primary boot loader (/ is FFSv1) into RAID1 components. # Install NetBSD primary boot loader (/ is FFSv1) into RAID1 components.
Line 484 section. Line 602 section.
Line 497 section. Line 615 section.
TODO: actually do this and fix it if necessary. TODO: actually do this and fix it if necessary.
remove the xenkernel41 and xentools41 packages and install the references it), and reboot.
xenkernel42 and xentools42 packages. Copy the 4.2 xen.gz to /.
mediated by Xen, and configured in the dom0. mediated by Xen, and configured in the dom0.
without needing explicit configuration. without needing explicit configuration.
from the config file by the "vcpus = N" directive. from the config file by the "vcpus = N" directive.
there are existing scripts: bridging and NAT. there are existing scripts: bridging and NAT.
usd xl, when one should use xm with 4.1. used xl, when one should use xm with 4.1.
storage you will provide, and prepare it (file or lvm). storage you will provide, and prepare it (file or lvm).
use the PAE version of the i386 kernel. use the PAE version of the i386 kernel.
`xm shutdown -R` or `xm shutdown -H` is used on the dom0. `xm shutdown -R` or `xm shutdown -H` is used on the dom0.
desirable, the filesystem can be converted to ext3 using tune2fs -j. desirable, the file system can be converted to ext3 using tune2fs -j.
the vmlinuz-\*-xenU kernels available in the Xen binary distribution. the vmlinuz-\*-xenU kernels available in the Xen binary distribution.
usual. Note that the default NetBSD DOMU kernels do not have "xpci" usual. Note that the default NetBSD DOMU kernels do not have "xpci"
to install NetBSD. to install NetBSD.
computer, where someone who controls a machine can replace the kernel. computer, where someone who controls a machine can replace the kernel.
Line 963 CPUs for NetBSD domUs. Line 1127 CPUs for NetBSD domUs.
/grub/menu.lst and loads a kernel from the domU filesystem. /grub/menu.lst and loads a kernel from the domU file system.
to update the special boot partiion. to update the special boot partition.
TODO: add link to NetBSD amazon howto. See the [Amazon EC2 page](../amazon_ec2/).
with NetBSD grub will also work). with NetBSD grub will also work).
* Push patches upstream. * Push patches upstream.