Re: [PATCH v2] KVM: x86: Modify struct kvm_nested_state to have explicit fields for data

2019-06-19 Thread Liran Alon
> On 19 Jun 2019, at 13:45, Paolo Bonzini wrote: > > On 19/06/19 00:36, Liran Alon wrote: >> >> >>> On 18 Jun 2019, at 19:24, Paolo Bonzini wrote: >>> >>> From: Liran Alon >>> >>> Improve the KVM_{GET,SET}_NESTED_STATE structs by detailing the format >>> of VMX nested state data in a str

Re: [PATCH v2] KVM: x86: Modify struct kvm_nested_state to have explicit fields for data

2019-06-19 Thread Paolo Bonzini
On 19/06/19 00:36, Liran Alon wrote: > > >> On 18 Jun 2019, at 19:24, Paolo Bonzini wrote: >> >> From: Liran Alon >> >> 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_{GE

Re: [PATCH v2] KVM: x86: Modify struct kvm_nested_state to have explicit fields for data

2019-06-18 Thread Liran Alon
> On 18 Jun 2019, at 19:24, Paolo Bonzini wrote: > > From: Liran Alon > > 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 preser

[PATCH v2] KVM: x86: Modify struct kvm_nested_state to have explicit fields for data

2019-06-18 Thread Paolo Bonzini
From: Liran Alon 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