Xen ignores all updates to cr4, and some versions will kill the domain
if you try to change its value. Just ignore all changes.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Andi Kleen <ak@suse.de>
---
arch/i386/xen/enlighten.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
===================================================================
--- a/arch/i386/xen/enlighten.c
+++ b/arch/i386/xen/enlighten.c
@@ -625,8 +625,8 @@ static unsigned long xen_read_cr2_direct
static void xen_write_cr4(unsigned long cr4)
{
- /* never allow TSC to be disabled */
- native_write_cr4(cr4 & ~X86_CR4_TSD);
+ /* Just ignore cr4 changes; Xen doesn't allow us to do
+ anything anyway. */
}
static unsigned long xen_read_cr3(void)
-
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| David Dillow | CONFIG_NO_HZ breaks blktrace timestamps |
| David Miller | Re: tg3: unable to handle null pointer dereference |
git: | |
| Martin Langhoff | Handling large files with GIT |
| Jakub Narebski | Re: VCS comparison table |
| Scott Chacon | Git Community Book |
| Matthew L Foster | git and time |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Richard Stallman | Real men don't attack straw men |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Rico Secada | Re: Binary kernel and base update |
| Evgeniy Polyakov | Re: [PKT_SCHED]: Add stateless NAT |
| Tantilov, Emil S | RE: [BUG] NULL pointer dereference in skb_dequeue |
| KOVACS Krisztian | [PATCH 10/14] iptables socket match |
| Ilpo Järvinen | [PATCH] [TCP]: Separate lost_retrans loop into own function |
