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

[Xen-devel] [PATCH] linux-2.6.18/x86: refuse to initialize the microcode driver in DomU



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

--- a/arch/i386/kernel/microcode-xen.c
+++ b/arch/i386/kernel/microcode-xen.c
@@ -121,6 +121,9 @@ static int __init microcode_init (void)
 {
        int error;
 
+       if (!is_initial_xendomain())
+               return -ENODEV;
+
        error = misc_register(&microcode_dev);
        if (error) {
                printk(KERN_ERR




_______________________________________________
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®.