[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail



You need to have appropriate log level set.

Try adding loglvl=all guest_loglvl=all to your xen command line and
reboot.

Wei.

I've enabled all the log level just as you said, but no outputs happen at  HVMOP_altp2m_vcpu_enable_notify section of do_altp2m_op function, so does that means the function are not called at all?

    case HVMOP_altp2m_vcpu_enable_notify:
    {
        struct vcpu *curr = current;
        p2m_type_t p2mt;
        if ( a.u.enable_notify.pad || a.domain != DOMID_SELF ||
             a.u.enable_notify.vcpu_id != curr->vcpu_id )
        {
            rc = -EINVAL;
            gdprintk(XENLOG_INFO, "enable_notify args error pad:%d domain:%d vcpu:%d curr->vcpu:%d\n",
                a.u.enable_notify.pad, a.domain, a.u.enable_notify.vcpu_id, curr->vcpu_id);
        }
        if ( (gfn_x(vcpu_altp2m(curr).veinfo_gfn) != INVALID_GFN) ||
             (mfn_x(get_gfn_query_unlocked(curr->domain,
                    a.u.enable_notify.gfn, &p2mt)) == INVALID_MFN) )
        {
            return -EINVAL;
            gdprintk(XENLOG_INFO, "veinfo page is invalid\n");
        }
        vcpu_altp2m(curr).veinfo_gfn = _gfn(a.u.enable_notify.gfn);
        altp2m_vcpu_update_vmfunc_ve(curr);
        gdprintk(XENLOG_INFO, "veinfo page set successfully\n");
        break;
    }

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.