aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-01-21 21:48:16 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-01-23 02:27:21 -0200
commitcad1e2827b616487e3574300f2eaeea13a355197 (patch)
tree5081249c58a9395270a6d9909eef31c4a713f188 /kvm-all.c
parentkvm: x86: Fix !CONFIG_KVM_PARA build (diff)
downloadqemu-kvm-cad1e2827b616487e3574300f2eaeea13a355197.tar.gz
qemu-kvm-cad1e2827b616487e3574300f2eaeea13a355197.tar.bz2
qemu-kvm-cad1e2827b616487e3574300f2eaeea13a355197.zip
kvm: Drop smp_cpus argument from init functions
No longer used. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 41decdeae..8053f9210 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -636,7 +636,7 @@ static CPUPhysMemoryClient kvm_cpu_phys_memory_client = {
.migration_log = kvm_client_migration_log,
};
-int kvm_init(int smp_cpus)
+int kvm_init(void)
{
static const char upgrade_note[] =
"Please upgrade to at least kernel 2.6.29 or recent kvm-kmod\n"
@@ -749,7 +749,7 @@ int kvm_init(int smp_cpus)
s->xcrs = kvm_check_extension(s, KVM_CAP_XCRS);
#endif
- ret = kvm_arch_init(s, smp_cpus);
+ ret = kvm_arch_init(s);
if (ret < 0) {
goto err;
}