git: test/nvmm/demo: Update 'toyvirt' to current libnvmm(3)

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


commit 2efd87c66f66f8f9b126e05cbe011b7f0ce338ba
Author: Aaron LI <aly at aaronly.me>
Date:   Fri May 28 07:33:45 2021 +0800

    test/nvmm/demo: Update 'toyvirt' to current libnvmm(3)
    
    Various adjustments to the demo code to make it work again with the
    current libnvmm(3) API in NetBSD 9.1.
    
    In addition, add one more return check of nvmm_vcpu_configure() and
    improve the logging messages a bit.  Update the example output in
    README accordingly.
    
    Tested on NetBSD 9.1.  Porting to DragonFly follows.

Summary of changes:
 test/nvmm/demo/README.txt     |  6 ++-
 test/nvmm/demo/toyvirt/main.c | 93 ++++++++++++++++++++++---------------------
 2 files changed, 51 insertions(+), 48 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2efd87c66f66f8f9b126e05cbe011b7f0ce338ba


-- 
DragonFly BSD source repository


More information about the Commits mailing list