]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: hyper-v: Collect hypercall params into struct
authorSiddharth Chandrasekaran <sidcha@amazon.de>
Wed, 26 May 2021 08:56:09 +0000 (10:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:24 +0000 (13:09 -0400)
commit44510bd95d879e175dad1ff8512b94af6e0b35ae
treee393257815702e3bf31cd97a24ee368c1b763420
parent5cd708731ed25f7aa8eb4902f4d859f4dec84d44
KVM: hyper-v: Collect hypercall params into struct

As of now there are 7 parameters (and flags) that are used in various
hyper-v hypercall handlers. There are 6 more input/output parameters
passed from XMM registers which are to be added in an upcoming patch.

To make passing arguments to the handlers more readable, capture all
these parameters into a single structure.

Cc: Alexander Graf <graf@amazon.com>
Cc: Evgeny Iakovlev <eyakovl@amazon.de>
Signed-off-by: Siddharth Chandrasekaran <sidcha@amazon.de>
Message-Id: <273f7ed510a1f6ba177e61b73a5c7bfbee4a4a87.1622019133.git.sidcha@amazon.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c