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
nexedi
linux
Commits
e8c4a4e8
Commit
e8c4a4e8
authored
Dec 25, 2008
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: MMU: Drop walk_shadow()
No longer used. Signed-off-by:
Avi Kivity
<
avi@redhat.com
>
parent
a461930b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.c
+0
-20
No files found.
arch/x86/kvm/mmu.c
View file @
e8c4a4e8
...
@@ -145,11 +145,6 @@ struct kvm_rmap_desc {
...
@@ -145,11 +145,6 @@ struct kvm_rmap_desc {
struct
kvm_rmap_desc
*
more
;
struct
kvm_rmap_desc
*
more
;
};
};
struct
kvm_shadow_walk
{
int
(
*
entry
)(
struct
kvm_shadow_walk
*
walk
,
struct
kvm_vcpu
*
vcpu
,
u64
addr
,
u64
*
spte
,
int
level
);
};
struct
kvm_shadow_walk_iterator
{
struct
kvm_shadow_walk_iterator
{
u64
addr
;
u64
addr
;
hpa_t
shadow_addr
;
hpa_t
shadow_addr
;
...
@@ -1299,21 +1294,6 @@ static void shadow_walk_next(struct kvm_shadow_walk_iterator *iterator)
...
@@ -1299,21 +1294,6 @@ static void shadow_walk_next(struct kvm_shadow_walk_iterator *iterator)
--
iterator
->
level
;
--
iterator
->
level
;
}
}
static
int
walk_shadow
(
struct
kvm_shadow_walk
*
walker
,
struct
kvm_vcpu
*
vcpu
,
u64
addr
)
{
struct
kvm_shadow_walk_iterator
iterator
;
int
r
;
for_each_shadow_entry
(
vcpu
,
addr
,
iterator
)
{
r
=
walker
->
entry
(
walker
,
vcpu
,
addr
,
iterator
.
sptep
,
iterator
.
level
);
if
(
r
)
return
r
;
}
return
0
;
}
static
void
kvm_mmu_page_unlink_children
(
struct
kvm
*
kvm
,
static
void
kvm_mmu_page_unlink_children
(
struct
kvm
*
kvm
,
struct
kvm_mmu_page
*
sp
)
struct
kvm_mmu_page
*
sp
)
{
{
...
...
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