WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Assorted VMX patches

To: Kip Macy <kip.macy@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Assorted VMX patches
From: Leendert van Doorn <leendert@xxxxxxxxxxxxxx>
Date: Mon, 25 Apr 2005 12:59:11 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 25 Apr 2005 17:20:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM T.J. Watson Research Center
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# Have you tried the modified xc_ptrace on a paravirtualized VM? I don't
# think that the machine address read out of the page tables would index
# correctly into the array of pages which, presumably, are in physical
# order. I think the changes in map_guest_va should probably be
# conditional on the guest being vmx.

You are right, I didn't try the gdbserver patches on a paravirtualized VM,
but I would expect xc_get_pfn_list to return an identity map in that case
so that the dereferences still work.

If it doesn't, then you need to test the flags for ECF_VMX_GUEST and do
the dereferences conditionally.

        Leendert


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel