Re: Failed to emulate instruction sequence [ 41f646040874064c017d88eb144c89 ] at 0xbea5fcf9

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Mon, 02 Dec 2024 22:06:32 UTC
Can you tell me if the compilation ended without errors ?

[root@marietto /usr/src/sys/modules/vmm]==> ls
Makefile

[root@marietto /usr/src/sys/modules/vmm]==> make

[Creating objdir /usr/obj/usr/src/amd64.amd64/sys/modules/vmm...]
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
i386 -> /usr/src/sys/i386/include
:> opt_acpi.h
:> opt_bhyve_snapshot.h
:> opt_ddb.h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m
-h
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
awk -f /usr/src/sys/tools/makeobjops.awk
/usr/src/sys/amd64/vmm/amd/ivhd_if.m -c
awk -f /usr/src/sys/tools/makeobjops.awk
/usr/src/sys/amd64/vmm/amd/ivhd_if.m -h
touch opt_global.h
cc -c -O2 -pipe -DVMM_KEEP_STATS -fno-strict-aliasing -Werror -D_KERNEL
-DKLD_MODULE -nostdinc -I/usr/src/sys/amd64/vmm -I/usr/src/sys/amd64/vmm/io
-I/usr/src/sys/amd64/vmm/intel -I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD
-MF.depend.genoffset.o -MTgenoffset.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx
-std=gnu99 -fcommon  /usr/src/sys/kern/genoffset.c
sh /usr/src/sys/kern/genoffset.sh genoffset.o > offset.inc
cc -c -O2 -pipe -DVMM_KEEP_STATS -fno-strict-aliasing -Werror -D_KERNEL
-DKLD_MODULE -nostdinc -I/usr/src/sys/amd64/vmm -I/usr/src/sys/amd64/vmm/io
-I/usr/src/sys/amd64/vmm/intel -I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx
-std=gnu99 -fcommon /usr/src/sys/amd64/vmm/intel/vmx_genassym.c
sh /usr/src/sys/kern/genassym.sh vmx_genassym.o > vmx_assym.h
cc -c -O2 -pipe -DVMM_KEEP_STATS -fno-strict-aliasing -Werror -D_KERNEL
-DKLD_MODULE -nostdinc -I/usr/src/sys/amd64/vmm -I/usr/src/sys/amd64/vmm/io
-I/usr/src/sys/amd64/vmm/intel -I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx
-std=gnu99 -fcommon /usr/src/sys/amd64/vmm/amd/svm_genassym.c
sh /usr/src/sys/kern/genassym.sh svm_genassym.o > svm_assym.h
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm.o -MTvmm.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm.c -o vmm.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_dev.o -MTvmm_dev.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_dev.c -o vmm_dev.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_host.o -MTvmm_host.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_host.c -o vmm_host.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_instruction_emul.o -MTvmm_instruction_emul.o
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_instruction_emul.c -o
vmm_instruction_emul.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_ioport.o -MTvmm_ioport.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_ioport.c -o vmm_ioport.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_lapic.o -MTvmm_lapic.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_lapic.c -o vmm_lapic.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_mem.o -MTvmm_mem.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_mem.c -o vmm_mem.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_stat.o -MTvmm_stat.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_stat.c -o vmm_stat.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmm_util.o -MTvmm_util.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/vmm_util.c -o vmm_util.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.x86.o -MTx86.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/x86.c -o x86.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.iommu.o -MTiommu.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/iommu.c -o iommu.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.ppt.o -MTppt.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/ppt.c -o ppt.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vatpic.o -MTvatpic.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vatpic.c -o vatpic.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vatpit.o -MTvatpit.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vatpit.c -o vatpit.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vhpet.o -MTvhpet.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vhpet.c -o vhpet.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vioapic.o -MTvioapic.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vioapic.c -o vioapic.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vlapic.o -MTvlapic.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vlapic.c -o vlapic.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vpmtmr.o -MTvpmtmr.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vpmtmr.c -o vpmtmr.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vrtc.o -MTvrtc.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/io/vrtc.c -o vrtc.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.ept.o -MTept.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/intel/ept.c -o ept.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmcs.o -MTvmcs.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/intel/vmcs.c -o vmcs.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmx_msr.o -MTvmx_msr.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/intel/vmx_msr.c -o vmx_msr.o
cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-common
 -DVMM_KEEP_STATS -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc  -I/usr/src/sys/amd64/vmm -I/usr/src/sys/amd64/vmm/io
-I/usr/src/sys/amd64/vmm/intel -I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmx_support.o -MTvmx_support.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99  /usr/src/sys/amd64/vmm/intel/vmx_support.S -o vmx_support.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmx.o -MTvmx.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/intel/vmx.c -o vmx.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vtd.o -MTvtd.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/intel/vtd.c -o vtd.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.vmcb.o -MTvmcb.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/vmcb.c -o vmcb.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.amdiommu.o -MTamdiommu.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/amdiommu.c -o amdiommu.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.ivhd_if.o -MTivhd_if.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c ivhd_if.c -o ivhd_if.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.svm.o -MTsvm.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/svm.c -o svm.o
cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-common
 -DVMM_KEEP_STATS -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc  -I/usr/src/sys/amd64/vmm -I/usr/src/sys/amd64/vmm/io
-I/usr/src/sys/amd64/vmm/intel -I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.svm_support.o -MTsvm_support.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99  /usr/src/sys/amd64/vmm/amd/svm_support.S -o svm_support.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.npt.o -MTnpt.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/npt.c -o npt.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.ivrs_drv.o -MTivrs_drv.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/ivrs_drv.c -o ivrs_drv.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.amdvi_hw.o -MTamdvi_hw.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/amdvi_hw.c -o amdvi_hw.o
cc  -O2 -pipe -fno-common  -DVMM_KEEP_STATS -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/amd64/vmm
-I/usr/src/sys/amd64/vmm/io -I/usr/src/sys/amd64/vmm/intel
-I/usr/src/sys/amd64/vmm/amd -include
/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/opt_global.h -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD
 -MF.depend.svm_msr.o -MTsvm_msr.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx
 -std=gnu99 -c /usr/src/sys/amd64/vmm/amd/svm_msr.c -o svm_msr.o
ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -T
/usr/src/sys/conf/ldscript.kmod.amd64 -r  -o vmm.ko vmm.o vmm_dev.o
vmm_host.o vmm_instruction_emul.o vmm_ioport.o vmm_lapic.o vmm_mem.o
vmm_stat.o vmm_util.o x86.o iommu.o ppt.o vatpic.o vatpit.o vhpet.o
vioapic.o vlapic.o vpmtmr.o vrtc.o ept.o vmcs.o vmx_msr.o vmx_support.o
vmx.o vtd.o vmcb.o amdiommu.o ivhd_if.o svm.o svm_support.o npt.o
ivrs_drv.o amdvi_hw.o svm_msr.o
ld: warning: svm_support.o: missing .note.GNU-stack section implies
executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future
version of the linker
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk vmm.ko  export_syms | xargs -J%
objcopy % vmm.ko
objcopy --strip-debug vmm.ko

now the patched vmm.ko should be ready ?

On Mon, Dec 2, 2024 at 10:34 PM Mario Marietto <marietto2008@gmail.com>
wrote:

> Yes,I have also exchanged the bhyve binary. Now I'm trying to apply your
> patch and then I will rebuild vmm.
> I see that your code is :
>
> [0xF6] = {
>                 /* XXX Group 3 extended opcode - not just TEST */
>                 .op_byte = 0xF6,
>                 .op_type = VIE_OP_TYPE_TEST,
>                 .op_flags = VIE_OP_F_IMM,
>         },
>
> but it seems wrong. Shouldn't be .op_flags = VIE_OP_F_IMM8 ?
>
> On Mon, Dec 2, 2024 at 10:16 PM Mark Peek <mp@freebsd.org> wrote:
>
>> On Mon, Dec 2, 2024 at 1:05 PM Mario Marietto <marietto2008@gmail.com>
>> wrote:
>>
>>> Hello Mark,
>>>
>>> I see that your patch is about to modify the code of the vmm.ko module.
>>> I've just exchanged the vmm.ko module that I'm using on the ZFS system with
>>> the module that I use on the UFS system (where I don't see the error) but
>>> this operation didn't solve the problem. I suspect that the wrong code is
>>> not inside the vmm.ko module. Can you offer a quick technical explanation
>>> of the reason why the exchange of the modules does not work for me ?
>>>
>>
>> I'm assuming you applied the patch and rebuilt the vmm.ko module. Did you
>> also recompile the bhyve binary per my comments in my last message? The
>> emulated instructions are detected in vmm.ko but are emulated in the bhyve
>> binary. In other words, vmm_instruction_emul.c is used in both vmm.ko and
>> bhyve.
>>
>> Mark
>>
>
>
> --
> Mario.
>


-- 
Mario.