git: Import nvmm(4) from NetBSD 9-stable

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:12 PDT 2021


commit 6d65b43de2e5d0b7565144d58d8941ac8ed86ab9
Author: Aaron LI <aly at aaronly.me>
Date:   Wed May 5 15:35:16 2021 +0800

    Import nvmm(4) from NetBSD 9-stable
    
    This is the kernel driver that provides support for hardware-accelerated
    virtualization.  It is made of an MI frontend with the following two MD
    backends:
    - x86 Intel VMX
    - x86 AMD SVM
    
    Branch: NetBSD 9-stable
    Date: Fri Apr 30 14:08:16 2021 +0000
    Path: sys/dev/nvmm

Summary of changes:
 sys/dev/virtual/nvmm/Makefile               |   13 +
 sys/dev/virtual/nvmm/files.nvmm             |   14 +
 sys/dev/virtual/nvmm/nvmm.c                 | 1308 ++++++++++
 sys/dev/virtual/nvmm/nvmm.h                 |  104 +
 sys/dev/virtual/nvmm/nvmm_internal.h        |  145 ++
 sys/dev/virtual/nvmm/nvmm_ioctl.h           |  158 ++
 sys/dev/virtual/nvmm/x86/Makefile           |    7 +
 sys/dev/virtual/nvmm/x86/nvmm_x86.c         |  455 ++++
 sys/dev/virtual/nvmm/x86/nvmm_x86.h         |  330 +++
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c     | 2622 ++++++++++++++++++++
 sys/dev/virtual/nvmm/x86/nvmm_x86_svmfunc.S |  200 ++
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c     | 3555 +++++++++++++++++++++++++++
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmxfunc.S |  260 ++
 13 files changed, 9171 insertions(+)
 create mode 100644 sys/dev/virtual/nvmm/Makefile
 create mode 100644 sys/dev/virtual/nvmm/files.nvmm
 create mode 100644 sys/dev/virtual/nvmm/nvmm.c
 create mode 100644 sys/dev/virtual/nvmm/nvmm.h
 create mode 100644 sys/dev/virtual/nvmm/nvmm_internal.h
 create mode 100644 sys/dev/virtual/nvmm/nvmm_ioctl.h
 create mode 100644 sys/dev/virtual/nvmm/x86/Makefile
 create mode 100644 sys/dev/virtual/nvmm/x86/nvmm_x86.c
 create mode 100644 sys/dev/virtual/nvmm/x86/nvmm_x86.h
 create mode 100644 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
 create mode 100644 sys/dev/virtual/nvmm/x86/nvmm_x86_svmfunc.S
 create mode 100644 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
 create mode 100644 sys/dev/virtual/nvmm/x86/nvmm_x86_vmxfunc.S

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d65b43de2e5d0b7565144d58d8941ac8ed86ab9


-- 
DragonFly BSD source repository


More information about the Commits mailing list