Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ed848624
Commit
ed848624
authored
Jul 29, 2008
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: Advertise synchronized mmu support to userspace
Signed-off-by:
Avi Kivity
<
avi@qumranet.com
>
parent
e930bffe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
arch/x86/kvm/x86.c
arch/x86/kvm/x86.c
+1
-0
include/linux/kvm.h
include/linux/kvm.h
+1
-0
No files found.
arch/x86/kvm/x86.c
View file @
ed848624
...
@@ -883,6 +883,7 @@ int kvm_dev_ioctl_check_extension(long ext)
...
@@ -883,6 +883,7 @@ int kvm_dev_ioctl_check_extension(long ext)
case
KVM_CAP_PIT
:
case
KVM_CAP_PIT
:
case
KVM_CAP_NOP_IO_DELAY
:
case
KVM_CAP_NOP_IO_DELAY
:
case
KVM_CAP_MP_STATE
:
case
KVM_CAP_MP_STATE
:
case
KVM_CAP_SYNC_MMU
:
r
=
1
;
r
=
1
;
break
;
break
;
case
KVM_CAP_COALESCED_MMIO
:
case
KVM_CAP_COALESCED_MMIO
:
...
...
include/linux/kvm.h
View file @
ed848624
...
@@ -371,6 +371,7 @@ struct kvm_trace_rec {
...
@@ -371,6 +371,7 @@ struct kvm_trace_rec {
#define KVM_CAP_PV_MMU 13
#define KVM_CAP_PV_MMU 13
#define KVM_CAP_MP_STATE 14
#define KVM_CAP_MP_STATE 14
#define KVM_CAP_COALESCED_MMIO 15
#define KVM_CAP_COALESCED_MMIO 15
#define KVM_CAP_SYNC_MMU 16
/* Changes to host mmap are reflected in guest */
/*
/*
* ioctls for VM fds
* ioctls for VM fds
...
...
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