Commit 0028d338 authored by Weibin Sun's avatar Weibin Sun Committed by Vikram Narayanan
Browse files

fix incorrect error message

parent ca725b16
...@@ -1986,10 +1986,11 @@ int lcd_move_module(lcd_struct *lcd, struct module *mod) { ...@@ -1986,10 +1986,11 @@ int lcd_move_module(lcd_struct *lcd, struct module *mod) {
if (!ret) { if (!ret) {
ret = __move_host_mapping(lcd, mod->module_core, mod->core_size, 1); ret = __move_host_mapping(lcd, mod->module_core, mod->core_size, 1);
if (!ret) { if (!ret) {
vmcs_writel(GUEST_RIP, (unsigned long)mod->module_init); vmcs_writel(GUEST_RIP, (unsigned long)mod->init);
lcd_setup_stack(lcd);
return ret;
} }
} }
lcd_setup_stack(lcd);
printk(KERN_ERR "lcd: failed to move module %d\n", ret); printk(KERN_ERR "lcd: failed to move module %d\n", ret);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment