From mboxrd@z Thu Jan 1 00:00:00 1970 From: david Subject: DomU LDT emtpy Date: Fri, 01 Jul 2011 14:58:02 +0200 Message-ID: <4E0DC45A.1070303@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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