>>> On 21.06.17 at 10:57, <wei.l...@citrix.com> wrote: > +int pv_emulate_invalid_op(struct cpu_user_regs *regs) > +{ > + return !emulate_invalid_rdtscp(regs) && !emulate_forced_invalid_op(regs); > +}
This way you want to make the function return bool. Alternatively you would want to preserve the EXCRET_* return value here, and handle it accordingly in the caller. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel