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

[Xen-changelog] [linux-2.6.18-xen] x86: refuse to initialize the microcode driver in DomU



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1323332322 -3600
# Node ID fdbceb3cec87a0a21416e74139d92aa214dbd023
# Parent  22ff38fd4b8b1d0b625a01a09210b1863aec8864
x86: refuse to initialize the microcode driver in DomU

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r 22ff38fd4b8b -r fdbceb3cec87 arch/i386/kernel/microcode-xen.c
--- a/arch/i386/kernel/microcode-xen.c  Wed Dec 07 11:04:41 2011 +0100
+++ b/arch/i386/kernel/microcode-xen.c  Thu Dec 08 09:18:42 2011 +0100
@@ -121,6 +121,9 @@
 {
        int error;
 
+       if (!is_initial_xendomain())
+               return -ENODEV;
+
        error = misc_register(&microcode_dev);
        if (error) {
                printk(KERN_ERR

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


 


Rackspace

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