[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.0.4-testing] [XENOPROF] Fix buffer sharing with auto-translate guests.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1166526005 0 # Node ID 8348e3a1a31efe99611610e34d50c80cea6ac229 # Parent b3cd9c4ac0561a89e13c7c74a9dc990d102a6080 [XENOPROF] Fix buffer sharing with auto-translate guests. Signed-off-by: Jose Renato Santos <jsantos@xxxxxxxxxx> --- xen/common/xenoprof.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r b3cd9c4ac056 -r 8348e3a1a31e xen/common/xenoprof.c --- a/xen/common/xenoprof.c Tue Dec 19 10:53:17 2006 +0000 +++ b/xen/common/xenoprof.c Tue Dec 19 11:00:05 2006 +0000 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |