Revision 6f338c34 vl.c
b/vl.c | ||
---|---|---|
3405 | 3405 |
/* machine registration */ |
3406 | 3406 |
|
3407 | 3407 |
static QEMUMachine *first_machine = NULL; |
3408 |
QEMUMachine *current_machine = NULL; |
|
3408 | 3409 |
|
3409 | 3410 |
int qemu_register_machine(QEMUMachine *m) |
3410 | 3411 |
{ |
... | ... | |
5587 | 5588 |
machine->init(ram_size, vga_ram_size, boot_devices, |
5588 | 5589 |
kernel_filename, kernel_cmdline, initrd_filename, cpu_model); |
5589 | 5590 |
|
5591 |
current_machine = machine; |
|
5592 |
|
|
5590 | 5593 |
/* Set KVM's vcpu state to qemu's initial CPUState. */ |
5591 | 5594 |
if (kvm_enabled()) { |
5592 | 5595 |
int ret; |
Also available in: Unified diff