Searched +full:- +full:- +full:disable +full:- +full:user (Results 1 – 9 of 9) sorted by relevance
/kvm-unit-tests/x86/ |
H A D | vmware_backdoors.c | 4 #include "x86/apic-defs.h" 41 (struct backdoor_port_result *) arg->retval; in vmware_backdoor_port_callback() 43 switch (arg->arg[2]) { in vmware_backdoor_port_callback() 45 return (res->rbx == VMWARE_MAGIC); in vmware_backdoor_port_callback() 47 return (res->rbx == VMPORT_DEFAULT_RETVAL); in vmware_backdoor_port_callback() 59 res->rax = VMPORT_DEFAULT_RETVAL; in vmware_backdoor_port() 60 res->rbx = VMPORT_DEFAULT_RETVAL; in vmware_backdoor_port() 61 res->rcx = VMPORT_DEFAULT_RETVAL; in vmware_backdoor_port() 62 res->rdx = VMPORT_DEFAULT_RETVAL; in vmware_backdoor_port() 70 "+a"(res->rax), in vmware_backdoor_port() [all …]
|
H A D | access.c | 17 #define PT_BASE_ADDR_MASK ((pt_element_t)((((pt_element_t)1 << 36) - 1) & PAGE_MASK)) 31 (((address) >> (12 + ((level)-1) * 9)) & 511) 63 * special test case to DISABLE writable bit on page directory 129 [AC_PTE_USER_BIT] = "pte.user", 137 [AC_PDE_USER_BIT] = "pde.user", 149 [AC_ACCESS_USER_BIT] = "user", 183 /* 5-level paging, 1-based to avoid math. */ 209 for (i = at->pt_levels; i >= min_level; --i) { in walk_va() 326 pt_env->pt_pool_pa = AT_PAGING_STRUCTURES_PHYS; in ac_env_int() 327 pt_env->pt_pool_current = 0; in ac_env_int() [all …]
|
H A D | vmx.c | 91 #define MASK(_bits) GENMASK_ULL((_bits) - 1, 0) 255 return (f->encoding >> VMCS_FIELD_TYPE_SHIFT) & 0x3; in vmcs_field_type() 273 value |= (f->encoding << 8); in vmcs_field_value() 276 return value & f->mask; in vmcs_field_value() 281 vmcs_write(f->encoding, vmcs_field_value(f, cookie)); in set_vmcs_field() 290 if (f->encoding == VMX_INST_ERROR) { in check_vmcs_field() 291 printf("Skipping volatile field %lx\n", f->encoding); in check_vmcs_field() 295 ret = vmcs_read_safe(f->encoding, &actual); in check_vmcs_field() 302 printf("Skipping read-only field %lx\n", f->encoding); in check_vmcs_field() 307 actual &= f->mask; in check_vmcs_field() [all …]
|
H A D | vmx_tests.c | 51 int pos = -1; in ffs() 156 if (((rdtsc() - tsc_val) >> preempt_scale) in preemption_timer_main() 183 report(((rdtsc() - tsc_val) >> preempt_scale) >= preempt_val, in preemption_timer_exit_handler() 184 "busy-wait for preemption timer"); in preemption_timer_exit_handler() 191 report(((rdtsc() - tsc_val) >> preempt_scale) >= preempt_val in preemption_timer_exit_handler() 228 report_fail("busy-wait for preemption timer"); in preemption_timer_exit_handler() 659 report(vmx_get_test_stage() == 0, "I/O bitmap - I/O pass"); in iobmp_main() 664 report(vmx_get_test_stage() == 3, "I/O bitmap - trap in"); in iobmp_main() 667 report(vmx_get_test_stage() == 4, "I/O bitmap - trap out"); in iobmp_main() 670 report(vmx_get_test_stage() == 5, "I/O bitmap - I/O width, long"); in iobmp_main() [all …]
|
/kvm-unit-tests/scripts/ |
H A D | vmm.bash | 3 # --nodefaults: suppress VM configuration that cannot be disabled (like 6 # --network mode=none: do not create a network device. kvmtool tries to help the 7 # user by automatically create one, and then prints a warning 9 # --loglevel=warning: reduce verbosity 10 : "${KVMTOOL_DEFAULT_OPTS:="--nodefaults --network mode=none --loglevel=warning"}" 17 # -------------------- 18 # 0 - Unexpected exit from QEMU (possible signal), or the unittest did 19 # not use debug-exit 20 # 1 - most likely unittest succeeded, or QEMU failed 23 # ------------------- [all …]
|
H A D | arch-run.bash | 6 echo -n "$@" 7 [ "$ENVIRON_DEFAULT" = "yes" ] && echo -n " #" 14 exec {stdout}>&- 28 exec {stdout}>&- 30 if [ $ret -eq 1 ]; then 31 testret=$(grep '^EXIT: ' <<<"$lines" | head -n1 | sed 's/.*STATUS=\([0-9][0-9]*\).*/\1/') 33 if [ $testret -eq 1 ]; then 50 s=${TIMEOUT: -1} 52 TIMEOUT=${TIMEOUT:0:-1} 57 echo "timeout -k 1s --foreground $TIMEOUT" [all …]
|
/kvm-unit-tests/ |
H A D | configure | 3 if [ -z "${BASH_VERSINFO[0]}" ] || [ "${BASH_VERSINFO[0]}" -lt 4 ] ; then 4 echo "Error: Bash version 4 or newer is required for the kvm-unit-tests" 15 echo "cortex-a15" 18 echo "cortex-a57" 33 echo "cortex-a15" 51 arch=$(uname -m | sed -e 's/i.86/i386/;s/arm64/aarch64/;s/arm.*/arm/;s/ppc64.*/ppc64/') 72 # Enable -Werror by default for git repositories only (i.e. developer builds) 73 if [ -e "$srcdir"/.git ]; then 74 werror=-Werror 81 [ -z "$processor" ] && processor=$(get_default_processor $arch) [all …]
|
H A D | .gitlab-ci.yml | 4 - dnf update -y 5 - dnf install -y make python 15 - logs 23 - build/logs 25 build-aarch64: 28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu 29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu- 30 - make -j2 31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh 33 debug-bp [all …]
|
/kvm-unit-tests/lib/linux/ |
H A D | pci_regs.h | 6 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 42 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 43 #define PCI_COMMAND_INTX_DISABLE 0x400 /* INTx Emulation Disable */ 49 #define PCI_STATUS_UDF 0x40 /* Support User Definable Features [obsolete] */ 50 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 113 /* 0x35-0x3b are reserved */ 119 /* Header type 1 (PCI-to-PCI bridges) */ 147 /* 0x35-0x3b is reserved */ 149 /* 0x3c-0x3d are same as for htype 0 */ 180 /* 0x3c-0x3d are same as for htype 0 */ [all …]
|