index
:
linux
master
linux
Fast-forward packages
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tools
/
testing
/
selftests
/
kvm
/
lib
/
kvm_util.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
KVM: selftests: Cache CPUID in struct kvm_vcpu
Sean Christopherson
2022-07-14
1
-0
/
+7
*
KVM: selftests: Set KVM's supported CPUID as vCPU's CPUID during recreate
Sean Christopherson
2022-07-14
1
-2
/
+8
*
KVM: selftests: Cache binary stats metadata for duration of test
Ben Gardon
2022-06-24
1
-15
/
+17
*
KVM: selftests: Add NX huge pages test
Ben Gardon
2022-06-24
1
-0
/
+46
*
KVM: selftests: Read binary stat data in lib
Ben Gardon
2022-06-24
1
-0
/
+35
*
KVM: selftests: Read binary stats desc in lib
Ben Gardon
2022-06-24
1
-0
/
+33
*
KVM: selftests: Remove the mismatched parameter comments
Shaoqin Huang
2022-06-15
1
-3
/
+0
*
KVM: selftests: Drop a duplicate TEST_ASSERT() in vm_nr_pages_required()
Sean Christopherson
2022-06-14
1
-4
/
+0
*
KVM: selftests: Add a missing apostrophe in comment to show ownership
Sean Christopherson
2022-06-14
1
-1
/
+1
*
KVM: selftests: Sanity check input to ioctls() at build time
Sean Christopherson
2022-06-11
1
-27
/
+2
*
KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste
Sean Christopherson
2022-06-11
1
-8
/
+2
*
KVM: selftests: Add kvm_has_cap() to provide syntactic sugar
Sean Christopherson
2022-06-11
1
-2
/
+2
*
KVM: selftests: Return an 'unsigned int' from kvm_check_cap()
Sean Christopherson
2022-06-11
1
-1
/
+1
*
KVM: selftests: Drop DEFAULT_GUEST_PHY_PAGES, open code the magic number
Sean Christopherson
2022-06-11
1
-1
/
+7
*
KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()
Sean Christopherson
2022-06-11
1
-19
/
+38
*
KVM: selftests: Drop @num_percpu_pages from __vm_create_with_vcpus()
Sean Christopherson
2022-06-11
1
-4
/
+3
*
KVM: selftests: Drop @slot0_mem_pages from __vm_create_with_vcpus()
Sean Christopherson
2022-06-11
1
-14
/
+7
*
KVM: selftests: Open code and drop 'struct kvm_vm' accessors
Sean Christopherson
2022-06-11
1
-25
/
+0
*
KVM: selftests: Remove vcpu_state() helper
Sean Christopherson
2022-06-11
1
-18
/
+1
*
KVM: selftests: Drop vcpu_get(), rename vcpu_find() => vcpu_exists()
Sean Christopherson
2022-06-11
1
-21
/
+13
*
KVM: selftests: Purge vm+vcpu_id == vcpu silliness
Sean Christopherson
2022-06-11
1
-123
/
+39
*
KVM: selftests: Require vCPU output array when creating VM with vCPUs
Sean Christopherson
2022-06-11
1
-6
/
+4
*
KVM: selftests: Drop @vcpuids param from VM creators
Sean Christopherson
2022-06-11
1
-5
/
+3
*
KVM: selftests: Drop vm_create_default* helpers
Sean Christopherson
2022-06-11
1
-17
/
+6
*
KVM: selftests: Add VM creation helper that "returns" vCPUs
Sean Christopherson
2022-06-11
1
-7
/
+10
*
KVM: selftests: Rename vm_vcpu_add* helpers to better show relationships
Sean Christopherson
2022-06-11
1
-3
/
+3
*
KVM: selftests: Move vm_is_unrestricted_guest() to x86-64
Sean Christopherson
2022-06-11
1
-33
/
+0
*
KVM: selftests: Return the created vCPU from vm_vcpu_add()
Sean Christopherson
2022-06-11
1
-18
/
+9
*
KVM: selftests: Rename 'struct vcpu' to 'struct kvm_vcpu'
Sean Christopherson
2022-06-11
1
-19
/
+17
*
KVM: selftests: Rename vcpu.state => vcpu.run
Sean Christopherson
2022-06-11
1
-15
/
+9
*
KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULT
Sean Christopherson
2022-06-11
1
-8
/
+8
*
KVM: selftests: Rename vm_create_without_vcpus() => vm_create()
Sean Christopherson
2022-06-11
1
-2
/
+2
*
KVM: selftests: Rename vm_create() => vm_create_barebones(), drop param
Sean Christopherson
2022-06-11
1
-25
/
+4
*
KVM: selftests: Push vm_adjust_num_guest_pages() into "w/o vCPUs" helper
Sean Christopherson
2022-06-11
1
-2
/
+2
*
KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'
Sean Christopherson
2022-06-11
1
-0
/
+18
*
KVM: selftests: Simplify KVM_ENABLE_CAP helper APIs
Sean Christopherson
2022-06-11
1
-5
/
+1
*
KVM: selftests: Add a VM backpointer to 'struct vcpu'
Sean Christopherson
2022-06-11
1
-0
/
+1
*
KVM: selftests: Split get/set device_attr helpers
Sean Christopherson
2022-06-11
1
-30
/
+28
*
KVM: selftests: Drop 'int' return from asserting *_has_device_attr()
Sean Christopherson
2022-06-11
1
-17
/
+0
*
KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistency
Sean Christopherson
2022-06-11
1
-6
/
+6
*
KVM: selftests: Multiplex return code and fd in __kvm_create_device()
Sean Christopherson
2022-06-11
1
-9
/
+7
*
KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helper
Sean Christopherson
2022-06-11
1
-6
/
+17
*
KVM: selftests: Drop @test param from kvm_create_device()
Sean Christopherson
2022-06-11
1
-8
/
+4
*
KVM: selftests: Get rid of kvm_util_internal.h
Sean Christopherson
2022-06-11
1
-1
/
+0
*
KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errors
Sean Christopherson
2022-06-11
1
-20
/
+14
*
KVM: selftests: Use kvm_ioctl() helpers
Sean Christopherson
2022-06-11
1
-8
/
+5
*
KVM: selftests: Make kvm_ioctl() a wrapper to pretty print ioctl name
Sean Christopherson
2022-06-11
1
-26
/
+5
*
KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpers
Sean Christopherson
2022-06-11
1
-104
/
+12
*
KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl name
Sean Christopherson
2022-06-11
1
-20
/
+6
*
KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existence
Sean Christopherson
2022-06-11
1
-40
/
+16
[next]