Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-05 Thread Paolo Bonzini
On 05/05/2015 18:36, Bandan Das wrote: >> > @@ -3116,29 +3121,31 @@ static void >> > kvm_vcpu_ioctl_x86_get_vcpu_events(struct kvm_vcpu *vcpu, >> > struct kvm_vcpu_events *events) >> > { >> >process_nmi(vcpu); >> > + >> > + memset(events, 0,

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-05 Thread Bandan Das
Paolo Bonzini writes: > This patch includes changes to the external API for SMM support. > All the changes are predicated by the availability of a new > capability, KVM_CAP_X86_SMM, which is added at the end of the > patch series. > > Signed-off-by: Paolo Bonzini > --- >

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-05 Thread Paolo Bonzini
On 05/05/2015 18:36, Bandan Das wrote: @@ -3116,29 +3121,31 @@ static void kvm_vcpu_ioctl_x86_get_vcpu_events(struct kvm_vcpu *vcpu, struct kvm_vcpu_events *events) { process_nmi(vcpu); + + memset(events, 0, sizeof(*events)); I think

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-05 Thread Bandan Das
Paolo Bonzini pbonz...@redhat.com writes: This patch includes changes to the external API for SMM support. All the changes are predicated by the availability of a new capability, KVM_CAP_X86_SMM, which is added at the end of the patch series. Signed-off-by: Paolo Bonzini pbonz...@redhat.com

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-04 Thread Paolo Bonzini
On 04/05/2015 17:37, Radim Krčmář wrote: > 2015-04-30 13:36+0200, Paolo Bonzini: >> This patch includes changes to the external API for SMM support. >> All the changes are predicated by the availability of a new >> capability, KVM_CAP_X86_SMM, which is added at the end of the >> patch series. >>

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-04 Thread Radim Krčmář
2015-04-30 13:36+0200, Paolo Bonzini: > This patch includes changes to the external API for SMM support. > All the changes are predicated by the availability of a new > capability, KVM_CAP_X86_SMM, which is added at the end of the > patch series. > > Signed-off-by: Paolo Bonzini > --- > diff

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-04 Thread Radim Krčmář
2015-04-30 13:36+0200, Paolo Bonzini: This patch includes changes to the external API for SMM support. All the changes are predicated by the availability of a new capability, KVM_CAP_X86_SMM, which is added at the end of the patch series. Signed-off-by: Paolo Bonzini pbonz...@redhat.com

Re: [PATCH 07/13] KVM: x86: API changes for SMM support

2015-05-04 Thread Paolo Bonzini
On 04/05/2015 17:37, Radim Krčmář wrote: 2015-04-30 13:36+0200, Paolo Bonzini: This patch includes changes to the external API for SMM support. All the changes are predicated by the availability of a new capability, KVM_CAP_X86_SMM, which is added at the end of the patch series.

[PATCH 07/13] KVM: x86: API changes for SMM support

2015-04-30 Thread Paolo Bonzini
This patch includes changes to the external API for SMM support. All the changes are predicated by the availability of a new capability, KVM_CAP_X86_SMM, which is added at the end of the patch series. Signed-off-by: Paolo Bonzini --- Documentation/virtual/kvm/api.txt | 34

[PATCH 07/13] KVM: x86: API changes for SMM support

2015-04-30 Thread Paolo Bonzini
This patch includes changes to the external API for SMM support. All the changes are predicated by the availability of a new capability, KVM_CAP_X86_SMM, which is added at the end of the patch series. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- Documentation/virtual/kvm/api.txt | 34