qemu/linux-headers/asm-x86
Liran Alon 1d33bea4d0 linux-headers: sync with latest KVM headers from Linux 5.2
Improve the KVM_{GET,SET}_NESTED_STATE structs by detailing the format
of VMX nested state data in a struct.

In order to avoid changing the ioctl values of
KVM_{GET,SET}_NESTED_STATE, there is a need to preserve
sizeof(struct kvm_nested_state). This is done by defining the data
struct as "data.vmx[0]". It was the most elegant way I found to
preserve struct size while still keeping struct readable and easy to
maintain. It does have a misfortunate side-effect that now it has to be
accessed as "data.vmx[0]" rather than just "data.vmx".

Because we are already modifying these structs, I also modified the
following:
* Define the "format" field values as macros.
* Rename vmcs_pa to vmcs12_pa for better readability.

Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Maran Wilson <maran.wilson@oracle.com>
Message-Id: <20190619162140.133674-7-liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-06-21 13:23:47 +02:00
..
bitsperlong.h linux-headers: add unistd.h on all arches 2018-05-23 03:14:41 +03:00
kvm.h linux-headers: sync with latest KVM headers from Linux 5.2 2019-06-21 13:23:47 +02:00
mman.h linux-headers: add linux/mman.h. 2019-04-25 14:17:36 -03:00
unistd_32.h linux headers: update against Linux 5.2-rc1 2019-05-21 16:58:56 +02:00
unistd_64.h linux headers: update against Linux 5.2-rc1 2019-05-21 16:58:56 +02:00
unistd_x32.h linux headers: update against Linux 5.2-rc1 2019-05-21 16:58:56 +02:00
unistd.h linux-headers: update to 4.15-rc1 2017-12-13 17:59:23 +00:00