Revision 214910a7
b/vl.c | ||
---|---|---|
5424 | 5424 |
} |
5425 | 5425 |
} |
5426 | 5426 |
|
5427 |
if (kvm_enabled()) { |
|
5428 |
int ret; |
|
5429 |
|
|
5430 |
ret = kvm_init(smp_cpus); |
|
5431 |
if (ret < 0) { |
|
5432 |
fprintf(stderr, "failed to initialize KVM\n"); |
|
5433 |
exit(1); |
|
5434 |
} |
|
5435 |
} |
|
5436 |
|
|
5437 | 5427 |
/* If no data_dir is specified then try to find it relative to the |
5438 | 5428 |
executable path. */ |
5439 | 5429 |
if (!data_dir) { |
... | ... | |
5523 | 5513 |
} |
5524 | 5514 |
#endif |
5525 | 5515 |
|
5516 |
if (kvm_enabled()) { |
|
5517 |
int ret; |
|
5518 |
|
|
5519 |
ret = kvm_init(smp_cpus); |
|
5520 |
if (ret < 0) { |
|
5521 |
fprintf(stderr, "failed to initialize KVM\n"); |
|
5522 |
exit(1); |
|
5523 |
} |
|
5524 |
} |
|
5525 |
|
|
5526 | 5526 |
if (qemu_init_main_loop()) { |
5527 | 5527 |
fprintf(stderr, "qemu_init_main_loop failed\n"); |
5528 | 5528 |
exit(1); |
Also available in: Unified diff