From: Trammell Hudson <hudson@osresearch.net>
To: xen-devel@lists.xensource.com
Subject: Setting page type for GDT page
Date: Fri, 31 Aug 2007 12:15:38 -0400 [thread overview]
Message-ID: <20070831161538.GA25713@osresearch.net> (raw)
I'm trying to install my own GDT in a lightweight kernel domU
and am receiving an error from HYPERVISOR_set_gdt() that my page
does not have the expected type. I've made sure that the page is
mapped read-only and walked the active page tables to check for
any writable mappings. There are two mappings of page 0x2abcd,
both with only the present and user bits set:
load_gdt_xen:313: Setting GDT page 0000006000524000 read-only
Mappings of 0000006000524000 (page 000000002abcd000):
PML1 0x6000024000[124] = 001000002abcd005 (va=0000000000524000 000 000 002 124)
PML1 0x6000024000[124] = 001000002abcd005 (va=0000006000524000 000 180 002 124)
load_gdt_xen:318: Setting GDT 0x6000524000 => 000000000002abcd (12 entries)
(XEN) mm.c:1664:d10 Bad type (saw 00000000e8000001 != exp 00000000a0000000) for mfn 2abcd (pfn 524)
load_gdt_xen:322: Unable to set GDT! rc=-22
Is there a way to designate that the page will be used for the GDT,
similar to MMUEXT_PIN_L4_TABLE?
-- Trammell
next reply other threads:[~2007-08-31 16:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 16:15 Trammell Hudson [this message]
2007-08-31 16:21 ` Setting page type for GDT page Keir Fraser
2007-08-31 16:39 ` Trammell Hudson
2007-08-31 17:51 ` 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=20070831161538.GA25713@osresearch.net \
--to=hudson@osresearch.net \
--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.