version 1.176, 2020/11/13 20:40:04
|
version 1.178, 2020/11/14 01:00:40
|
Line 24 guests must be specifically coded for Xe
|
Line 24 guests must be specifically coded for Xe
|
|
|
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. |
|
|
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. |
Line 104 just as you would if you were not using
|
Line 105 just as you would if you were not using
|
Installation of Xen |
Installation of Xen |
------------------- |
------------------- |
|
|
We will consider that you chose to use Xen 4.8, with NetBSD/amd64 as |
We will consider that you chose to use Xen 4.13, with NetBSD/amd64 as |
dom0. In the dom0, install xenkernel48 and xentools48 from pkgsrc. |
dom0. In the dom0, install xenkernel48 and xentools48 from pkgsrc. |
|
|
Once this is done, install the Xen kernel itself: |
Once this is done, install the Xen kernel itself: |
Line 144 itself uses (in this case, the serial po
|
Line 145 itself uses (in this case, the serial po
|
In an attempt to add performance, one can also add `dom0_max_vcpus=1 dom0_vcpus_pin`, |
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 |
to force only one vcpu to be provided (since NetBSD dom0 can't use |
more) and to pin that vcpu to a physical CPU. Xen has |
more) and to pin that vcpu to a physical CPU. Xen has |
[many boot options](http://xenbits.xenproject.org/docs/4.8-testing/misc/xen-command-line.html), |
[many boot options](http://xenbits.xenproject.org/docs/4.13-testing/misc/xen-command-line.html), |
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. |
|
|
Line 195 this will get fixed any time soon.
|
Line 196 this will get fixed any time soon.
|
anita (for testing NetBSD) |
anita (for testing NetBSD) |
-------------------------- |
-------------------------- |
|
|
With the setup so far (assuming 4.8/xl), one should be able to run |
With the setup so far, one should be able to run |
anita (see pkgsrc/misc/py-anita) to test NetBSD releases, by doing (as |
anita (see pkgsrc/misc/py-anita) to test NetBSD releases, by doing (as |
root, because anita must create a domU): |
root, because anita must create a domU): |
|
|