login
Login
/
Register
Search
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
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Christoph Hellwig <hch@...>
To: H. Peter Anvin <hpa@...>
Cc: Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, Christian Ehrhardt <lk@...>
Subject:
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
Date: Tuesday, September 4, 2007 - 6: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, 12:55 pm)
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
, Christoph Hellwig
, (Tue Sep 4, 6:33 pm)
Re: [GIT PULL] x86 setup: work around bug in Xen HVM
, H. Peter Anvin
, (Tue Sep 4, 9:39 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Linus Torvalds
Linux 2.6.27-rc5
Jared Hulbert
[PATCH 00/10] AXFS: Advanced XIP filesystem
Linus Torvalds
Linux 2.6.27-rc8
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Antonio Almeida
HTB accuracy for high speed
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
929 guests
online.
Online users
zeekec
strcmp
steptwonow
inefut40
Syndicate