Date: Mon, 2 Dec 2024 23:06:32 +0100 From: Mario Marietto <marietto2008@gmail.com> To: Mark Peek <mp@freebsd.org> Cc: =?UTF-8?Q?Corvin_K=C3=B6hne?= <c.koehne@beckhoff.com>, FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: Failed to emulate instruction sequence [ 41f646040874064c017d88eb144c89 ] at 0xbea5fcf9 Message-ID: <CA%2B1FSigZrijZmnP9OkFot12_aqUc7ECNjOO4RGB5V-L7VgAyRQ@mail.gmail.com> In-Reply-To: <CA%2B1FSigZV6GXurd5KmBwVS6LdbOpP1fLK5wEB7-ROAp%2Bz1axsA@mail.gmail.com> References: <CA%2B1FSijzwf6xHOv7-CfmdFPmxD46vFEdaJ4V6xy29G4BYEetWA@mail.gmail.com> <CAGGgMJemKNkEB87sHABECYrQT37tzPcF74o6dejAz4=nMApCBQ@mail.gmail.com> <CA%2B1FSigkus=xw6Y%2BQzD8hK9Dmkt6LR1hsY-U8V=yQ3yReTSL8g@mail.gmail.com> <CAGGgMJcVC33joaZ%2BdHsCBMHZ-hZPDt-9E8mL6Nvb=AdbVDQPqA@mail.gmail.com> <CA%2B1FSigZV6GXurd5KmBwVS6LdbOpP1fLK5wEB7-ROAp%2Bz1axsA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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.
[-- Attachment #2 --]
<div dir="ltr"><div>Can you tell me if the compilation ended without errors ? <br></div><div><br></div><div>[root@marietto /usr/src/sys/modules/vmm]==> ls</div><div></div><div></div><div>Makefile</div><div><br></div><div>[root@marietto /usr/src/sys/modules/vmm]==> make</div><div><br></div><div>[Creating objdir /usr/obj/usr/src/amd64.amd64/sys/modules/vmm...]</div>machine -> /usr/src/sys/amd64/include<br>x86 -> /usr/src/sys/x86/include<br>i386 -> /usr/src/sys/i386/include<br>:> opt_acpi.h<br>:> opt_bhyve_snapshot.h<br>:> opt_ddb.h<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pcib_if.m -h<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m -h<br>awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p<br>awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q<br>awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/amd64/vmm/amd/ivhd_if.m -c<br>awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/amd64/vmm/amd/ivhd_if.m -h<br>touch opt_global.h<br>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<br>sh /usr/src/sys/kern/genoffset.sh genoffset.o > offset.inc<br>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<br>sh /usr/src/sys/kern/genassym.sh vmx_genassym.o > vmx_assym.h<br>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<br>sh /usr/src/sys/kern/genassym.sh svm_genassym.o > svm_assym.h<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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<br>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 <br>ld: warning: svm_support.o: missing .note.GNU-stack section implies executable stack<br>ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker<br>:> export_syms<br>awk -f /usr/src/sys/conf/kmod_syms.awk vmm.ko export_syms | xargs -J% objcopy % vmm.ko<br><div>objcopy --strip-debug vmm.ko</div><div><br></div><div>now the patched vmm.ko should be ready ?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 2, 2024 at 10:34 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Yes,I have also exchanged the bhyve binary. Now I'm trying to apply your patch and then I will rebuild vmm. <br></div><div>I see that your code is :<br></div><div><br></div><div>[0xF6] = {<br> /* XXX Group 3 extended opcode - not just TEST */<br> .op_byte = 0xF6,<br> .op_type = VIE_OP_TYPE_TEST,<br> .op_flags = VIE_OP_F_IMM,<br> },</div><div><br></div><div>but it seems wrong. Shouldn't be .op_flags = VIE_OP_F_IMM8 ?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 2, 2024 at 10:16 PM Mark Peek <<a href="mailto:mp@freebsd.org" target="_blank">mp@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Dec 2, 2024 at 1:05 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Mark,</div><div><br></div><div>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 ?</div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>Mark </div></div></div>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSigZrijZmnP9OkFot12_aqUc7ECNjOO4RGB5V-L7VgAyRQ>
