]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: add SYNC_REGS_SIZE_BYTES #define.
authorKen Hofsass <hofsass@google.com>
Thu, 1 Feb 2018 00:03:35 +0000 (16:03 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 6 Mar 2018 17:40:43 +0000 (18:40 +0100)
commit166560bc12a2f2a238ac43849f9e2b53da05e1c6
tree2416acd62546483498495af33f6561ed00986b87
parent61af38fd9d57f2e0db600346b142f066cf2e8f9a
KVM: x86: add SYNC_REGS_SIZE_BYTES #define.

Replace hardcoded padding size value for struct kvm_sync_regs
with #define SYNC_REGS_SIZE_BYTES.

Also update the value specified in api.txt from outdated hardcoded
value to SYNC_REGS_SIZE_BYTES.

Signed-off-by: Ken Hofsass <hofsass@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Documentation/virtual/kvm/api.txt
include/uapi/linux/kvm.h