diff options
author | Xiantao Zhang <xiantao.zhang@intel.com> | 2008-10-06 13:47:38 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-15 14:25:33 +0200 |
commit | 8a98f6648a2b0756d8f26d6c13332f5526355fec (patch) | |
tree | 8df03d146d22082644df8078747e332f9b2aff1f /include/linux/kvm_host.h | |
parent | 371c01b28e4049d1fbf60a9631cdad98f7cae030 (diff) | |
download | kernel_goldelico_gta04-8a98f6648a2b0756d8f26d6c13332f5526355fec.zip kernel_goldelico_gta04-8a98f6648a2b0756d8f26d6c13332f5526355fec.tar.gz kernel_goldelico_gta04-8a98f6648a2b0756d8f26d6c13332f5526355fec.tar.bz2 |
KVM: Move device assignment logic to common code
To share with other archs, this patch moves device assignment
logic to common parts.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 73b7c52..10c1146 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -281,6 +281,7 @@ void kvm_free_physmem(struct kvm *kvm); struct kvm *kvm_arch_create_vm(void); void kvm_arch_destroy_vm(struct kvm *kvm); +void kvm_free_all_assigned_devices(struct kvm *kvm); int kvm_cpu_get_interrupt(struct kvm_vcpu *v); int kvm_cpu_has_interrupt(struct kvm_vcpu *v); |