diff options
author | Glauber Costa <glommer@redhat.com> | 2009-10-19 11:20:42 -0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-20 12:52:09 -0200 |
commit | 0e26711a6692b118b3148a45f9576e9b3c8b8e3a (patch) | |
tree | b333d74ac52148e2de5359004fd2b57dd4017e46 /kvm-all.c | |
parent | Remove kvmctl from kvm/user/config-x86-common.mak (diff) | |
download | qemu-kvm-0e26711a6692b118b3148a45f9576e9b3c8b8e3a.tar.gz qemu-kvm-0e26711a6692b118b3148a45f9576e9b3c8b8e3a.tar.bz2 qemu-kvm-0e26711a6692b118b3148a45f9576e9b3c8b8e3a.zip |
use handle_io upstream version.
We can use upstream version of handle_io, there called kvm_handle_io()
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -520,6 +520,7 @@ err: return ret; } +#endif static int kvm_handle_io(uint16_t port, void *data, int direction, int size, uint32_t count) @@ -560,6 +561,7 @@ static int kvm_handle_io(uint16_t port, void *data, int direction, int size, return 1; } +#ifdef KVM_UPSTREAM static void kvm_run_coalesced_mmio(CPUState *env, struct kvm_run *run) { #ifdef KVM_CAP_COALESCED_MMIO |