From: david <david_n@gmx.at>
To: xen-devel@lists.xensource.com
Subject: Re: DomU LDT emtpy
Date: Fri, 01 Jul 2011 19:15:54 +0200 [thread overview]
Message-ID: <4E0E00CA.5070305@gmx.at> (raw)
In-Reply-To: <4E0DC45A.1070303@gmx.at>
Ok, i think I know what the problem is: LDT is 0 :) (winxp sp2). I have
no idea why, but windbg shows me that there is just a 0 stored.
... how can the OS know the details about the segments of the running
process? .. but I think is is the wrong mailinglist for such a question.
cya,
david
On 07/01/2011 02:58 PM, david wrote:
> 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
>
>
>
>
>
>
prev parent reply other threads:[~2011-07-01 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-01 12:58 DomU LDT emtpy david
2011-07-01 17:15 ` david [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E0E00CA.5070305@gmx.at \
--to=david_n@gmx.at \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.