1 2 3 4 5
#!/bin/sh # DF-3829 build set -e cd "$(dirname "$0")" cc -O2 -o nvmm_drive nvmm_drive.c -I/usr/src/sys -lpthread (guest, after kldload nvmm; guest booted with qemu -cpu host, host KVM nested=Y)