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
2fbf4cf1
Commit
2fbf4cf1
authored
Dec 09, 2007
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: MMU: Remove walker argument to set_pte()
Unused. Signed-off-by:
Avi Kivity
<
avi@qumranet.com
>
parent
e3f95504
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
drivers/kvm/paging_tmpl.h
drivers/kvm/paging_tmpl.h
+3
-4
No files found.
drivers/kvm/paging_tmpl.h
View file @
2fbf4cf1
...
...
@@ -238,8 +238,7 @@ static int FNAME(walk_addr)(struct guest_walker *walker,
static
void
FNAME
(
set_pte
)(
struct
kvm_vcpu
*
vcpu
,
u64
*
shadow_pte
,
unsigned
pt_access
,
unsigned
pte_access
,
int
user_fault
,
int
write_fault
,
int
dirty
,
int
*
ptwrite
,
struct
guest_walker
*
walker
,
gfn_t
gfn
)
int
*
ptwrite
,
gfn_t
gfn
)
{
u64
spte
;
int
was_rmapped
=
is_rmap_pte
(
*
shadow_pte
);
...
...
@@ -337,7 +336,7 @@ static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *page,
pgprintk
(
"%s: gpte %llx spte %p
\n
"
,
__FUNCTION__
,
(
u64
)
gpte
,
spte
);
pte_access
=
page
->
role
.
access
&
FNAME
(
gpte_access
)(
vcpu
,
gpte
);
FNAME
(
set_pte
)(
vcpu
,
spte
,
page
->
role
.
access
,
pte_access
,
0
,
0
,
gpte
&
PT_DIRTY_MASK
,
NULL
,
NULL
,
gpte_to_gfn
(
gpte
));
gpte
&
PT_DIRTY_MASK
,
NULL
,
gpte_to_gfn
(
gpte
));
}
/*
...
...
@@ -402,7 +401,7 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
FNAME
(
set_pte
)(
vcpu
,
shadow_ent
,
access
,
walker
->
pte_access
&
access
,
user_fault
,
write_fault
,
walker
->
pte
&
PT_DIRTY_MASK
,
ptwrite
,
walker
,
walker
->
gfn
);
ptwrite
,
walker
->
gfn
);
return
shadow_ent
;
}
...
...
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