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)
commitbd38b32053eb1c53ddb7030cf0fc6d700f7f1d82
treee393257815702e3bf31cd97a24ee368c1b763420
parent43e5146436099a98fcd30793598d61e582ec6830
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