[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH][XENOPROFILE] Fix profiling of passive HVM guest on x86
Keir Xenoprof code is not working with hvm guests in x86 as reported by Ray Bryant from AMD. The following patch fix the problem. Please apply, hopefully before 3.0.4 is released Thanks Renato =========================================================== Signed-off-by: Jose Renato Santos <jsantos@xxxxxxxxxx> diff -r 37141c3a3d39 xen/common/xenoprof.c --- a/xen/common/xenoprof.c Mon Dec 11 15:06:53 2006 +0000 +++ b/xen/common/xenoprof.c Fri Dec 15 17:58:03 2006 -0800 @@ -384,7 +384,7 @@ static int add_passive_list(XEN_GUEST_HA d->xenoprof->domain_type = XENOPROF_DOMAIN_PASSIVE; passive.nbuf = d->xenoprof->nbuf; passive.bufsize = d->xenoprof->bufsize; - if ( !shadow_mode_translate(d) ) + if ( !shadow_mode_translate(current->domain) ) passive.buf_gmaddr = __pa(d->xenoprof->rawbuf); else xenoprof_shared_gmfn_with_guest( _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |