On Thu, Jun 21, 2018 at 01:15:57PM +0800, Kevin Lo wrote:
> Hi,
>
> The diff below adds missing comma. This fixes compilation if we enable
> VMM_DEBUG macro.
>
> Index: sys/arch/amd64/amd64/vmm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/vmm.c,v
> retrieving revision 1.200
> diff -u -p -u -p -r1.200 vmm.c
> --- sys/arch/amd64/amd64/vmm.c 5 Jun 2018 06:39:10 -0000 1.200
> +++ sys/arch/amd64/amd64/vmm.c 21 Jun 2018 05:12:15 -0000
> @@ -3829,13 +3829,13 @@ vmm_fpurestore(struct vcpu *vcpu)
> if (vcpu->vc_fpuinited) {
> /* Restore guest XCR0 and FPU context */
> if (vcpu->vc_gueststate.vg_xcr0 & ~xsave_mask) {
> - DPRINTF("%s: guest attempted to set invalid %s\n"
> + DPRINTF("%s: guest attempted to set invalid %s\n",
> __func__, "bits in xcr0");
> return EINVAL;
> }
>
> if (xrstor_user(&vcpu->vc_g_fpu, xsave_mask)) {
> - DPRINTF("%s: guest attempted to set invalid %s\n"
> + DPRINTF("%s: guest attempted to set invalid %s\n",
> __func__, "xsave/xrstor state");
> return EINVAL;
> }
>
Sure, not sure how that snuck in. Go ahead.
-ml