Messages in this thread | | | From | Wanpeng Li <> | Date | Mon, 25 Dec 2017 11:09:07 +0800 | Subject | Re: [PATCH 4/4] KVM: nVMX: initialize more non-shadowed fields in prepare_vmcs02_full |
| |
2017-12-21 20:43 GMT+08:00 Paolo Bonzini <pbonzini@redhat.com>: > These fields are also simple copies of the data in the vmcs12 struct. > For some of them, prepare_vmcs02 was skipping the copy when the field > was unused. In prepare_vmcs02_full, we copy them always as long as the > field exists on the host, because the corresponding execution control > might be one of the shadowed fields.
Why we don't need to copy them always before the patchset?
Regards, Wanpeng Li
| |