diff options
author | Avi Kivity <avi@qumranet.com> | 2008-03-02 07:06:05 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 05:00:26 -0400 |
commit | 9f81128591ca1e9907f2e7a7b195e33232167d60 (patch) | |
tree | 2abca5f4181f3bc0570bab60d85b473a595f1285 /include | |
parent | 0cf1bfd2737f41e59f974a61eab11af206d2042a (diff) |
KVM: Provide unlocked version of emulator_write_phys()
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/kvm_host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 26a313a09472..99d31f5ed9ff 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -432,6 +432,9 @@ void kvm_mmu_change_mmu_pages(struct kvm *kvm, unsigned int kvm_nr_mmu_pages); | |||
432 | 432 | ||
433 | int load_pdptrs(struct kvm_vcpu *vcpu, unsigned long cr3); | 433 | int load_pdptrs(struct kvm_vcpu *vcpu, unsigned long cr3); |
434 | 434 | ||
435 | int __emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa, | ||
436 | const void *val, int bytes); | ||
437 | |||
435 | enum emulation_result { | 438 | enum emulation_result { |
436 | EMULATE_DONE, /* no further processing */ | 439 | EMULATE_DONE, /* no further processing */ |
437 | EMULATE_DO_MMIO, /* kvm_run filled with mmio request */ | 440 | EMULATE_DO_MMIO, /* kvm_run filled with mmio request */ |