Re: [PATCH] KVM: x86: Check for host supported fields in shadow vmcs

2014-04-21 Thread Bandan Das
Paolo Bonzini writes: > Il 19/04/2014 19:34, Bandan Das ha scritto: >> >> We track shadow vmcs fields through two static lists, >> one for read only fields and another for r/w. However, with >> addition of new vmcs fields, not all fields may be supported on >> all hosts. If so, copy_vmcs12_to_sha

Re: [PATCH] KVM: x86: Check for host supported fields in shadow vmcs

2014-04-19 Thread Paolo Bonzini
Il 19/04/2014 19:34, Bandan Das ha scritto: We track shadow vmcs fields through two static lists, one for read only fields and another for r/w. However, with addition of new vmcs fields, not all fields may be supported on all hosts. If so, copy_vmcs12_to_shadow() trying to vmwrite on older hosts

[PATCH] KVM: x86: Check for host supported fields in shadow vmcs

2014-04-19 Thread Bandan Das
We track shadow vmcs fields through two static lists, one for read only fields and another for r/w. However, with addition of new vmcs fields, not all fields may be supported on all hosts. If so, copy_vmcs12_to_shadow() trying to vmwrite on older hosts will result in a vmwrite error. For example,