[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Fix for BSOD when "migrating" from Intel to AMD.


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Wed, 13 Jun 2007 15:40:31 +0200
  • Delivery-date: Wed, 13 Jun 2007 06:41:17 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcetwGkThYLM15qyTcuvH0CwFgWsYQ==
  • Thread-topic: Fix for BSOD when "migrating" from Intel to AMD.

The Intel processor driver for Windows (XP and later at least) reads an
MSR that AMD doesn't have. This causes GP-fault in kernel mode, which
causes blue-screen-of-death on Windows. This prevents a disk-image that
was installed on Intel from starting on an AMD processor.

This patch "fixes" the problem by allowing reads from the msr, returning
all zero's (which is a valid, if not particulary meaningfull, value for
this register). 

It raises some interesting questions on compatibility and how to make
migration more reliable - migration in this case being either by
installation on one machine and restarting on another or by actual use
of the "xm migrate" command. I will post a separate mail on this
subject.

Signed off by: Mats Petersson (mats.petersson@xxxxxxx)

Applies to unstable c/s: 15249. Please apply.

--
Mats

Attachment: patch.fix_XP_bsod_when_install_on_intel
Description: patch.fix_XP_bsod_when_install_on_intel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.