Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
364b625b
Commit
364b625b
authored
Apr 16, 2007
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: SVM: Report hardware exit reason to userspace instead of dmesg
Signed-off-by:
Avi Kivity
<
avi@qumranet.com
>
parent
8c438502
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/kvm/svm.c
drivers/kvm/svm.c
+1
-6
No files found.
drivers/kvm/svm.c
View file @
364b625b
...
@@ -1332,12 +1332,7 @@ static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
...
@@ -1332,12 +1332,7 @@ static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
if
(
exit_code
>=
ARRAY_SIZE
(
svm_exit_handlers
)
if
(
exit_code
>=
ARRAY_SIZE
(
svm_exit_handlers
)
||
svm_exit_handlers
[
exit_code
]
==
0
)
{
||
svm_exit_handlers
[
exit_code
]
==
0
)
{
kvm_run
->
exit_reason
=
KVM_EXIT_UNKNOWN
;
kvm_run
->
exit_reason
=
KVM_EXIT_UNKNOWN
;
printk
(
KERN_ERR
"%s: 0x%x @ 0x%llx cr0 0x%lx rflags 0x%llx
\n
"
,
kvm_run
->
hw
.
hardware_exit_reason
=
exit_code
;
__FUNCTION__
,
exit_code
,
vcpu
->
svm
->
vmcb
->
save
.
rip
,
vcpu
->
cr0
,
vcpu
->
svm
->
vmcb
->
save
.
rflags
);
return
0
;
return
0
;
}
}
...
...
Write
Preview
Markdown
is supported
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