version 1.36, 2014/12/24 16:02:49
|
version 1.37, 2014/12/24 16:06:38
|
Line 269 beginning of your root filesystem, /boot
|
Line 269 beginning of your root filesystem, /boot
|
|
|
See boot.cfg(5) for an example. The basic line is |
See boot.cfg(5) for an example. The basic line is |
|
|
"menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=256M" |
menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=256M |
|
|
which specifies that the dom0 should have 256M, leaving the rest to be |
which specifies that the dom0 should have 256M, leaving the rest to be |
allocated for domUs. |
allocated for domUs. In an attempt to add performance, one can also |
|
add |
|
|
|
dom0_max_vcpus=1 dom0_vcpus_pin |
|
|
|
to force only one vcpu to be provided (since NetBSD dom0 can't use |
|
more) and to pin that vcpu to a physical cpu. TODO: benchmark this. |
|
|
As with non-Xen systems, you should have a line to boot /netbsd (a |
As with non-Xen systems, you should have a line to boot /netbsd (a |
kernel that works without Xen) and fallback versions of the non-Xen |
kernel that works without Xen) and fallback versions of the non-Xen |
Line 602 working vif-bridge is also provided with
|
Line 608 working vif-bridge is also provided with
|
|
|
#!/bin/sh |
#!/bin/sh |
#============================================================================ |
#============================================================================ |
# $NetBSD: howto.mdwn,v 1.35 2014/12/24 15:56:04 gdt Exp $ |
# $NetBSD: howto.mdwn,v 1.36 2014/12/24 16:02:49 gdt Exp $ |
# |
# |
# /usr/pkg/etc/xen/vif-bridge |
# /usr/pkg/etc/xen/vif-bridge |
# |
# |