Home
last modified time | relevance | path

Searched refs:init0 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/tools/testing/selftests/kvm/aarch64/
Dvcpu_width_config.c21 static int add_init_2vcpus(struct kvm_vcpu_init *init0, in add_init_2vcpus() argument
31 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_init_2vcpus()
47 static int add_2vcpus_init_2vcpus(struct kvm_vcpu_init *init0, in add_2vcpus_init_2vcpus() argument
59 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_2vcpus_init_2vcpus()
81 struct kvm_vcpu_init init0, init1; in main() local
89 vm_ioctl(vm, KVM_ARM_PREFERRED_TARGET, &init0); in main()
91 init1 = init0; in main()
94 ret = add_init_2vcpus(&init0, &init0); in main()
97 ret = add_2vcpus_init_2vcpus(&init0, &init0); in main()
102 init0.features[0] = (1 << KVM_ARM_VCPU_EL1_32BIT); in main()
[all …]