KVM: resize kvm_io_range array dynamically
authorAmos Kong <akong@redhat.com>
Fri, 9 Mar 2012 04:17:32 +0000 (12:17 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:46:58 +0000 (12:46 +0300)
commita13007160f1b9ec7c67e28ec9254f197c5c08d7d
treed5c855d0409ca86323a1bd916cd3e21feba13ff7
parent83c529151ab0d4a813e3f6a3e293fff75d468519
KVM: resize kvm_io_range array dynamically

This patch makes the kvm_io_range array can be resized dynamically.

Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c