aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvm-all.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 0ac4b1e1e0..73e814a31d 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -338,8 +338,10 @@ int kvm_init(int smp_cpus)
int ret;
int i;
- if (smp_cpus > 1)
+ if (smp_cpus > 1) {
+ fprintf(stderr, "No SMP KVM support, use '-smp 1'\n");
return -EINVAL;
+ }
s = qemu_mallocz(sizeof(KVMState));