Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-20 Thread Andi Kleen
Paolo Bonzini writes: > On 19/05/2015 16:25, Zhang, Yang Z wrote: >> Paolo Bonzini wrote on 2015-04-30: >>> This patch series introduces system management mode support. >> >> Just curious what's motivation to add vSMM supporting? Is there any >> usage case inside guest requires SMM? Thanks. > >

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-20 Thread Andi Kleen
Paolo Bonzini pbonz...@redhat.com writes: On 19/05/2015 16:25, Zhang, Yang Z wrote: Paolo Bonzini wrote on 2015-04-30: This patch series introduces system management mode support. Just curious what's motivation to add vSMM supporting? Is there any usage case inside guest requires SMM?

RE: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-19 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-05-19: > > > On 19/05/2015 16:25, Zhang, Yang Z wrote: >> Paolo Bonzini wrote on 2015-04-30: >>> This patch series introduces system management mode support. >> >> Just curious what's motivation to add vSMM supporting? Is there any >> usage case inside guest requires

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-19 Thread Paolo Bonzini
On 19/05/2015 16:25, Zhang, Yang Z wrote: > Paolo Bonzini wrote on 2015-04-30: >> This patch series introduces system management mode support. > > Just curious what's motivation to add vSMM supporting? Is there any > usage case inside guest requires SMM? Thanks. SMM provides the trusted base

RE: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-19 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-04-30: > This patch series introduces system management mode support. Just curious what's motivation to add vSMM supporting? Is there any usage case inside guest requires SMM? Thanks. > There is still some work to do, namely: test without unrestricted > guest

RE: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-19 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-05-19: On 19/05/2015 16:25, Zhang, Yang Z wrote: Paolo Bonzini wrote on 2015-04-30: This patch series introduces system management mode support. Just curious what's motivation to add vSMM supporting? Is there any usage case inside guest requires SMM? Thanks.

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-19 Thread Paolo Bonzini
On 19/05/2015 16:25, Zhang, Yang Z wrote: Paolo Bonzini wrote on 2015-04-30: This patch series introduces system management mode support. Just curious what's motivation to add vSMM supporting? Is there any usage case inside guest requires SMM? Thanks. SMM provides the trusted base for

RE: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-19 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-04-30: This patch series introduces system management mode support. Just curious what's motivation to add vSMM supporting? Is there any usage case inside guest requires SMM? Thanks. There is still some work to do, namely: test without unrestricted guest support,

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-06 Thread Radim Krčmář
2015-05-06 13:18+0200, Paolo Bonzini: > On 05/05/2015 20:40, Radim Krčmář wrote: > > - Whole SMRAM is writeable. Spec says that parts of state should be > > read-only. (This seems hard to fix without trapping all writes.) > > Read-only here just means that you shouldn't touch it. It says

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-06 Thread Paolo Bonzini
On 05/05/2015 20:40, Radim Krčmář wrote: > - Whole SMRAM is writeable. Spec says that parts of state should be > read-only. (This seems hard to fix without trapping all writes.) Read-only here just means that you shouldn't touch it. It says "Some register images are read-only, and must not

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-06 Thread Paolo Bonzini
On 05/05/2015 20:40, Radim Krčmář wrote: - Whole SMRAM is writeable. Spec says that parts of state should be read-only. (This seems hard to fix without trapping all writes.) Read-only here just means that you shouldn't touch it. It says Some register images are read-only, and must not be

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-06 Thread Radim Krčmář
2015-05-06 13:18+0200, Paolo Bonzini: On 05/05/2015 20:40, Radim Krčmář wrote: - Whole SMRAM is writeable. Spec says that parts of state should be read-only. (This seems hard to fix without trapping all writes.) Read-only here just means that you shouldn't touch it. It says Some

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-05 Thread Radim Krčmář
2015-04-30 13:35+0200, Paolo Bonzini: > This patch series introduces system management mode support. > There is still some work to do, namely: test without unrestricted > guest support, test on AMD, disable the capability if !unrestricted > guest and !emulate invalid guest state(*), test with a

Re: [RFC PATCH 00/13] KVM: x86: SMM support

2015-05-05 Thread Radim Krčmář
2015-04-30 13:35+0200, Paolo Bonzini: This patch series introduces system management mode support. There is still some work to do, namely: test without unrestricted guest support, test on AMD, disable the capability if !unrestricted guest and !emulate invalid guest state(*), test with a QEMU

[RFC PATCH 00/13] KVM: x86: SMM support

2015-04-30 Thread Paolo Bonzini
This patch series introduces system management mode support. There is still some work to do, namely: test without unrestricted guest support, test on AMD, disable the capability if !unrestricted guest and !emulate invalid guest state(*), test with a QEMU that understand KVM_MEM_X86_SMRAM, actually

[RFC PATCH 00/13] KVM: x86: SMM support

2015-04-30 Thread Paolo Bonzini
This patch series introduces system management mode support. There is still some work to do, namely: test without unrestricted guest support, test on AMD, disable the capability if !unrestricted guest and !emulate invalid guest state(*), test with a QEMU that understand KVM_MEM_X86_SMRAM, actually