Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/s390x/
H A Ducontrol_test.c69 int kvm_run_size; in FIXTURE() local
97 self->kvm_run_size = ioctl(self->kvm_fd, KVM_GET_VCPU_MMAP_SIZE, NULL); in FIXTURE_SETUP()
98 ASSERT_GE(self->kvm_run_size, sizeof(struct kvm_run)) in FIXTURE_SETUP()
99 TH_LOG(KVM_IOCTL_ERROR(KVM_GET_VCPU_MMAP_SIZE, self->kvm_run_size)); in FIXTURE_SETUP()
100 self->run = (struct kvm_run *)mmap(NULL, self->kvm_run_size, in FIXTURE_SETUP()
145 munmap(self->run, self->kvm_run_size); in FIXTURE_TEARDOWN()