Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
da1cbe3f
Commit
da1cbe3f
authored
Feb 28, 2014
by
Weibin Sun
Committed by
Vikram Narayanan
Oct 25, 2016
Browse files
fix RIP inside LCD
parent
84708de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/x86/lcd/lcd_main.c
View file @
da1cbe3f
...
...
@@ -2015,7 +2015,7 @@ int lcd_move_module(lcd_struct *lcd, struct module *mod) {
if
(
!
ret
)
{
ret
=
__move_host_mapping
(
lcd
,
mod
->
module_core
,
mod
->
core_size
);
if
(
!
ret
)
{
vmcs_writel
(
GUEST_RIP
,
(
unsigned
long
)
mod
->
module_
init
);
vmcs_writel
(
GUEST_RIP
,
(
unsigned
long
)
mod
->
init
);
}
}
...
...
@@ -2192,7 +2192,7 @@ int lcd_run(lcd_struct *lcd) {
"exit qualification %llx, intr_info %x
\n
"
,
ret
,
lcd_exit_reason
(
ret
),
lcd
->
exit_qualification
,
lcd
->
exit_intr_info
);
/*
vmx_dump_cpu(lcd);
*/
vmx_dump_cpu
(
lcd
);
break
;
}
}
...
...
@@ -2212,7 +2212,8 @@ static int __init lcd_init(void) {
if
((
r
=
vmx_init
()))
{
printk
(
KERN_ERR
"LCD: failed to init VMX
\n
"
);
}
else
{
r
=
lcd_test
();
;
/* r = lcd_test(); */
/*
test_thread = kthread_create(&lcd_thread, NULL, "LCD");
if (!test_thread) {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment