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

[Xen-devel] DomU LDT emtpy

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] DomU LDT emtpy
From: david <david_n@xxxxxx>
Date: Fri, 01 Jul 2011 14:58:02 +0200
Delivery-date: Fri, 01 Jul 2011 06:08:37 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10
Hi there,

short question: should ldt_base in struct vcpu_guest_context_t contain
the value of the LDTR of the current running process in DomU? It's
always zero :(

I'm trying to get the value by using libxc:
vcpu_guest_context_any_t *ctxt = malloc(sizeof(vcpu_guest_context_any_t));
xc_vcpu_getcontext(xcinterface, domain, 0, ctxt);
ctxt->c.ldt_base;


have you any idea how I can get the LDTR value from DomU in Dom0 by
using libxc?

thanks,
david







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

<Prev in Thread] Current Thread [Next in Thread>