From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Early test for 32- vs 64-bit hvm domain?
Date: Tue, 29 Jan 2008 17:01:22 -0700 [thread overview]
Message-ID: <20080129170122812.00000002384@djm-pc> (raw)
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
What is the proper way to test to see if an hvm domain is destined
to be x86 vs x86_64 whilst still early in its initialization in the
hypervisor, e.g. in hvm_vcpu_initialise(v) or hvm_domain_initialise(d)?
Is this information pased down from hvmloader or does it get
discovered somehow? Or maybe it is not possible to determine
until a vcpu actually starts executing?
I see vmx_guest_x86_mode(v) ASSERTs if v!=current so hvm_guest_x86_mode(v)
can't be used. And hvm_long_mode_enabled(v) doesn't seem to work that
early. Also, the arch_domain struct has a "is_32bit_pv" field but I can't
find any equivalent for hvm.
Thanks for any suggestions!
Dan
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2008-01-30 0:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 0:01 Dan Magenheimer [this message]
2008-01-30 0:11 ` Early test for 32- vs 64-bit hvm domain? Samuel Thibault
2008-01-30 0:34 ` Dan Magenheimer
2008-01-30 8:21 ` Keir Fraser
2008-01-30 18:44 ` Andi Kleen
2008-01-30 19:28 ` Keir Fraser
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=20080129170122812.00000002384@djm-pc \
--to=dan.magenheimer@oracle.com \
--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.