On 12/22/16 18:16, Jan Beulich wrote:
On 19.09.16 at 07:52, <suravee.suthikulpa...@amd.com> wrote:
+int svm_avic_init_vcpu(struct vcpu *v)
+{
+ struct vlapic *vlapic = vcpu_vlapic(v);
+ struct arch_svm_struct *s = &v->arch.hvm_svm;
+
+ if ( svm_avic )
+ s->avic_bk_pg = vlapic->regs_page;
Why this copying? Can't consuming code not use vlapic->regs_page?
Hm.. good point. I'll get rid of avic_bk_pg and just use the regs_page.
Thanks,
Suravee
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel