Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80702
b: refs/heads/master
c: 3b6fff1
h: refs/heads/master
v: v3
  • Loading branch information
Uri Lublin authored and Avi Kivity committed Jan 30, 2008
1 parent 8a7d00f commit ac1be61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f1ef3f8f5f8ade2561d969181b152c225b82a3e
refs/heads/master: 3b6fff198c2ae3ca87ee8c9103d52ac9e8f40dd5
2 changes: 1 addition & 1 deletion trunk/drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,11 +796,11 @@ int kvm_clear_guest(struct kvm *kvm, gpa_t gpa, unsigned long len)
}
EXPORT_SYMBOL_GPL(kvm_clear_guest);

/* WARNING: Does not work on aliased pages. */
void mark_page_dirty(struct kvm *kvm, gfn_t gfn)
{
struct kvm_memory_slot *memslot;

gfn = unalias_gfn(kvm, gfn);
memslot = __gfn_to_memslot(kvm, gfn);
if (memslot && memslot->dirty_bitmap) {
unsigned long rel_gfn = gfn - memslot->base_gfn;
Expand Down

0 comments on commit ac1be61

Please sign in to comment.