>>> On 28.01.16 at 11:55, <andrew.coop...@citrix.com> wrote: > On 28/01/16 09:42, Jan Beulich wrote: >>>>> On 27.01.16 at 20:13, <andrew.coop...@citrix.com> wrote: >>> --- a/xen/arch/x86/hvm/svm/vmcb.c >>> +++ b/xen/arch/x86/hvm/svm/vmcb.c >>> @@ -192,6 +192,7 @@ static int construct_vmcb(struct vcpu *v) >>> >>> vmcb->_exception_intercepts = >>> HVM_TRAP_MASK >>> + | (opt_hvm_fep ? (1U << TRAP_invalid_op) : 0) >>> | (1U << TRAP_no_device); >> This assumes a certain sequence of hypercalls by the tool stack >> (i.e. set-cpuid only after all vCPU-s got created, or else the >> intercept won't get enabled), which I think we should avoid. >> Instead I think you'd better call the new hook from >> hvm_vcpu_initialise(). > > Something like this (to be folded in) ?
Yes. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel