diff options
author | Carsten Otte <cotte@de.ibm.com> | 2007-10-30 13:44:25 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:52:59 -0500 |
commit | de7d789acd7f373268194bb48dc0690c975ab8e6 (patch) | |
tree | c2e9c4e1bb8d127e7a53459f9ed83c711901f31d /drivers/kvm/x86.h | |
parent | bbd9b64e37aff5aa715ec5e168425790f5983bf1 (diff) |
KVM: Portability: Move pio emulation functions to x86.c
This patch moves implementation of the following functions from
kvm_main.c to x86.c:
free_pio_guest_pages, vcpu_find_pio_dev, pio_copy_data, complete_pio,
kernel_pio, pio_string_write, kvm_emulate_pio, kvm_emulate_pio_string
The function inject_gp, which was duplicated by yesterday's patch
series, is removed from kvm_main.c now because it is not needed anymore.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86.h')
-rw-r--r-- | drivers/kvm/x86.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h index 5592456c36ad..663b822b4ddb 100644 --- a/drivers/kvm/x86.h +++ b/drivers/kvm/x86.h | |||
@@ -126,4 +126,5 @@ static inline int is_paging(struct kvm_vcpu *vcpu) | |||
126 | } | 126 | } |
127 | 127 | ||
128 | int load_pdptrs(struct kvm_vcpu *vcpu, unsigned long cr3); | 128 | int load_pdptrs(struct kvm_vcpu *vcpu, unsigned long cr3); |
129 | int complete_pio(struct kvm_vcpu *vcpu); | ||
129 | #endif | 130 | #endif |