1# 2# CDDL HEADER START 3# 4# This file and its contents are supplied under the terms of the 5# Common Development and Distribution License ("CDDL"), version 1.0. 6# You may only use this file in accordance with the terms of version 7# 1.0 of the CDDL. 8# 9# A full copy of the text of the CDDL should have accompanied this 10# source. A copy of the CDDL is also available via the Internet at 11# http://www.illumos.org/license/CDDL. 12# 13# CDDL HEADER END 14# 15 16# 17# Copyright 2022 OmniOS Community Edition (OmniOSce) Association. 18# Copyright 2023 Oxide Computer Company 19# 20 21set name=pkg.fmri value=pkg:/system/bhyve/tests@$(PKGVERS) 22set name=pkg.summary value="BSD hypervisor tests" 23set name=pkg.description value="BSD hypervisor tests" 24set name=info.classification \ 25 value=org.opensolaris.category.2008:System/Virtualization 26set name=variant.arch value=i386 27dir path=opt/bhyve-tests 28dir path=opt/bhyve-tests/bin 29file path=opt/bhyve-tests/bin/bhyvetest mode=0555 30dir path=opt/bhyve-tests/runfiles 31file path=opt/bhyve-tests/runfiles/default.run mode=0444 32dir path=opt/bhyve-tests/tests 33dir path=opt/bhyve-tests/tests/inst_emul 34file path=opt/bhyve-tests/tests/inst_emul/cpuid mode=0555 35file path=opt/bhyve-tests/tests/inst_emul/exit_paging mode=0555 36file path=opt/bhyve-tests/tests/inst_emul/imul mode=0555 37file path=opt/bhyve-tests/tests/inst_emul/page_dirty mode=0555 38file path=opt/bhyve-tests/tests/inst_emul/rdmsr mode=0555 39file path=opt/bhyve-tests/tests/inst_emul/triple_fault mode=0555 40file path=opt/bhyve-tests/tests/inst_emul/wrmsr mode=0555 41dir path=opt/bhyve-tests/tests/kdev 42file path=opt/bhyve-tests/tests/kdev/vatpit_freq mode=0555 43file path=opt/bhyve-tests/tests/kdev/vhpet_freq mode=0555 44file path=opt/bhyve-tests/tests/kdev/vlapic_freq mode=0555 45file path=opt/bhyve-tests/tests/kdev/vlapic_freq_periodic mode=0555 46file path=opt/bhyve-tests/tests/kdev/vlapic_mmio_access mode=0555 47file path=opt/bhyve-tests/tests/kdev/vlapic_msr_access mode=0555 48file path=opt/bhyve-tests/tests/kdev/vpmtmr_freq mode=0555 49dir path=opt/bhyve-tests/tests/mevent 50file path=opt/bhyve-tests/tests/mevent/lists_delete mode=0555 51file path=opt/bhyve-tests/tests/mevent/read_disable mode=0555 52file path=opt/bhyve-tests/tests/mevent/read_pause mode=0555 53file path=opt/bhyve-tests/tests/mevent/read_requeue mode=0555 54file path=opt/bhyve-tests/tests/mevent/vnode_file mode=0555 55file path=opt/bhyve-tests/tests/mevent/vnode_zvol mode=0555 56dir path=opt/bhyve-tests/tests/viona 57file path=opt/bhyve-tests/tests/viona/interface_version mode=0555 58dir path=opt/bhyve-tests/tests/vmm 59file path=opt/bhyve-tests/tests/vmm/auto_destruct mode=0555 60file path=opt/bhyve-tests/tests/vmm/check_iommu mode=0555 61file path=opt/bhyve-tests/tests/vmm/cpuid_ioctl mode=0555 62file path=opt/bhyve-tests/tests/vmm/datarw_constraints mode=0555 63file path=opt/bhyve-tests/tests/vmm/default_capabs mode=0555 64file path=opt/bhyve-tests/tests/vmm/drv_hold mode=0555 65file path=opt/bhyve-tests/tests/vmm/fpu_getset mode=0555 66file path=opt/bhyve-tests/tests/vmm/import_vlapic mode=0555 67file path=opt/bhyve-tests/tests/vmm/interface_version mode=0555 68file path=opt/bhyve-tests/tests/vmm/legacy_destruct mode=0555 69file path=opt/bhyve-tests/tests/vmm/mem_devmem mode=0555 70file path=opt/bhyve-tests/tests/vmm/mem_partial mode=0555 71file path=opt/bhyve-tests/tests/vmm/mem_seg_map mode=0555 72file path=opt/bhyve-tests/tests/vmm/pause_resume mode=0555 73file path=opt/bhyve-tests/tests/vmm/self_destruct mode=0555 74dir path=usr/kernel/drv group=sys 75dir path=usr/kernel/drv/$(ARCH64) group=sys 76file path=usr/kernel/drv/$(ARCH64)/vmm_drv_test 77file path=usr/kernel/drv/vmm_drv_test.conf 78driver name=vmm_drv_test perms="* 0666 root sys" \ 79 policy="read_priv_set=sys_devices write_priv_set=sys_devices" 80license lic_CDDL license=lic_CDDL 81depend type=require fmri=system/bhyve 82depend type=require fmri=system/test/testrunner 83