login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
4
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Christoph Hellwig
Subject:
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
Date: Tuesday, September 4, 2007 - 3:33 pm
On Tue, Sep 04, 2007 at 09:55:45AM -0700, H. Peter Anvin wrote:
quoted text
> > Apparently XEN does not keep the contents of the 48-bit gdt_48 data > structure that is passed to lgdt in the XEN machine state. Instead it > appears to save the _address_ of the 48-bit descriptor > somewhere. Unfortunately this data happens to reside on the stack and > is probably no longer availiable at the time of the actual protected > mode jump. > > This is Xen bug but given that there is a one-line patch to work > around this problem, the linux kernel should probably do this. My fix > is to make the gdt_48 description in setup_gdt static (in setup_idt > this is already the case). This allows the kernel to boot under > Xen HVM again.
quoted text
> - struct gdt_ptr gdt; > + static struct gdt_ptr gdt;
It might make sense to add your above commit message to the code as a comment. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[GIT PULL] x86 setup: work around bug in Xen HVM
, H. Peter Anvin
, (Tue Sep 4, 9:55 am)
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
, Christoph Hellwig
, (Tue Sep 4, 3:33 pm)
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
, H. Peter Anvin
, (Tue Sep 4, 6:39 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Alexandre Oliva
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Daniel Hazelton
Re: x86: 4kstacks default
Andi Kleen
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit Xen support
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Nicolas Pitre
Re: About git and the use of SHA-1
Alex Riesen
Re: git exclude patterns for directory
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Paul Gortmaker
[PATCH net-next 09/16] tipc: Relocate trivial link status functions to header file
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Tonnerre LOMBARD
Re: bge0: watchdog timeout
Rob Shepherd
x86 hardware for router system
Damien Miller
Re: Patching a SSH 'Weakness'
ropers
Re: Real men don't attack straw men
Colocation donated by:
Syndicate