[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxc: Add xc_domain_hvm_get_mtrr_type() call
xen/arch/x86/hvm/mtrr.c:mtrr_def_type_msr_set() seems to be where it is written, and it is called with hw_mtrr.msr_mtrr_def_type so it looks like it can be derived from that value in hvm_hw_mtrr.Indeed it is, but this happens there: uint8_t def_type = msr_content & 0xff; uint8_t enabled = (msr_content >> 10) & 0x3; Nevermind, found it :)mtrr.c / static int hvm_save_mtrr_msr(struct domain *d, hvm_domain_context_t *h): hw_mtrr.msr_mtrr_def_type = mtrr_state->def_type | (mtrr_state->enabled << 10); Thanks, Razvan Cojocaru _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |