| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: nvmm.4,v 1.6 2020/09/05 07:22:25 maxv Exp $ | | 1 | .\" $NetBSD: nvmm.4,v 1.7 2023/07/29 23:11:50 gdt Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net | | 3 | .\" Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is part of the NVMM hypervisor. | | 6 | .\" This code is part of the NVMM hypervisor. |
7 | .\" | | 7 | .\" |
8 | .\" Redistribution and use in source and binary forms, with or without | | 8 | .\" Redistribution and use in source and binary forms, with or without |
9 | .\" modification, are permitted provided that the following conditions | | 9 | .\" modification, are permitted provided that the following conditions |
10 | .\" are met: | | 10 | .\" are met: |
11 | .\" 1. Redistributions of source code must retain the above copyright | | 11 | .\" 1. Redistributions of source code must retain the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer. | | 12 | .\" notice, this list of conditions and the following disclaimer. |
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in the | | 14 | .\" notice, this list of conditions and the following disclaimer in the |
| @@ -16,47 +16,51 @@ | | | @@ -16,47 +16,51 @@ |
16 | .\" | | 16 | .\" |
17 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 17 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
18 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 18 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
19 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 19 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
20 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 20 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
21 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | | 21 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
22 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | | 22 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
23 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | | 23 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
24 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | | 24 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
25 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 25 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
26 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 26 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 | .\" SUCH DAMAGE. | | 27 | .\" SUCH DAMAGE. |
28 | .\" | | 28 | .\" |
29 | .Dd February 9, 2020 | | 29 | .Dd July 30, 2023 |
30 | .Dt NVMM 4 | | 30 | .Dt NVMM 4 |
31 | .Os | | 31 | .Os |
32 | .Sh NAME | | 32 | .Sh NAME |
33 | .Nm nvmm | | 33 | .Nm nvmm |
34 | .Nd NetBSD Virtual Machine Monitor | | 34 | .Nd NetBSD Virtual Machine Monitor |
35 | .Sh DESCRIPTION | | 35 | .Sh DESCRIPTION |
36 | The | | 36 | The |
37 | .Nm | | 37 | .Nm |
38 | driver provides kernel support for hardware-accelerated virtualization. | | 38 | driver provides kernel support for hardware-accelerated virtualization. |
39 | It is made of a generic MI frontend, to which MD backends can be plugged | | 39 | It is made of a generic MI frontend, to which MD backends can be plugged |
40 | to implement the core virtualization. | | 40 | to implement the core virtualization. |
41 | .Pp | | 41 | .Pp |
42 | In practice, | | 42 | In practice, |
43 | .Nm | | 43 | .Nm |
44 | is used by the | | 44 | is used by the |
45 | .Xr libnvmm 3 | | 45 | .Xr libnvmm 3 |
46 | API to implement hypervisors. | | 46 | API to implement hypervisors. |
47 | .Sh SUPPORT | | 47 | .Sh SUPPORT |
48 | The following backends are supported: | | 48 | The following backends are supported: |
49 | .Bl -hyphen -compact -offset indent | | 49 | .Bl -hyphen -compact -offset indent |
50 | .It | | 50 | .It |
51 | x86-SVM, for x86 AMD CPUs | | 51 | x86-SVM, for x86 AMD CPUs |
52 | .It | | 52 | .It |
53 | x86-VMX, for x86 Intel CPUs | | 53 | x86-VMX, for x86 Intel CPUs |
54 | .El | | 54 | .El |
| | | 55 | Note that for VMX support, the CPU must also support "VMX Unrestricted |
| | | 56 | Guest", which is only present if Extended Page Tables (EPT) is |
| | | 57 | supported. The earliest CPU family with this feature is Westmere, and |
| | | 58 | not all later CPUs have it. |
55 | .Sh SEE ALSO | | 59 | .Sh SEE ALSO |
56 | .Xr libnvmm 3 , | | 60 | .Xr libnvmm 3 , |
57 | .Xr nvmmctl 8 | | 61 | .Xr nvmmctl 8 |
58 | .Sh AUTHORS | | 62 | .Sh AUTHORS |
59 | The | | 63 | The |
60 | .Nm | | 64 | .Nm |
61 | driver was written by | | 65 | driver was written by |
62 | .An Maxime Villard . | | 66 | .An Maxime Villard . |