]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftest: Add proper helpers for x86-specific save/restore ioctls
authorSean Christopherson <seanjc@google.com>
Thu, 2 Jun 2022 17:30:06 +0000 (10:30 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:29 +0000 (11:46 -0400)
commit3aab0a2361bc6afb44540f2c0b8349a9ef66446d
treeeea6b4f4110cf5a1b59cd494af08f7f519bb97fb
parentd1e32fc0355d76508531f6dca2366a3717322a56
KVM: selftest: Add proper helpers for x86-specific save/restore ioctls

Add helpers for the various one-off helpers used by x86's vCPU state
save/restore helpers, and convert the other open coded ioctl()s to use
existing helpers.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/x86_64/processor.c