linux-2.6.18/x86: refuse to initialize the microcode driver in DomU
PATCH 1/1 linux-2.6.18/x86: refuse to initialize the microcode driver in DomU
Signed-off-by Jan Beulich <[email protected]>
arch/i386/kernel/microcode-xen.c +3 -0
@@ -121,6 +121,9 @@ static int __init microcode_init (void) {int error; +if (!is_initial_xendomain ()) +return -ENODEV ; + error =misc_register (µcode_dev);if (error) { printk(KERN_ERR