]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/uapi/linux/kvm.h
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)
commit7b7e39522a61f402d41dd9a67f3fa2133ef9d4e8
tree2416acd62546483498495af33f6561ed00986b87
parentfaeb7833eee0d6afe0ecb6bdfa6042556c2c352e
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