projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basic qdev infrastructure.
[qemu]
/
vl.c
diff --git
a/vl.c
b/vl.c
index
b43cdd1
..
40b1d8b
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-2565,6
+2565,8
@@
int drive_init(struct drive_opt *arg, int snapshot, void *opaque)
case IF_MTD:
case IF_VIRTIO:
break;
+ case IF_COUNT:
+ abort();
}
if (!file[0])
return -2;
@@
-5896,6
+5898,8
@@
int main(int argc, char **argv, char **envp)
}
}
+ module_call_init(MODULE_INIT_DEVICE);
+
machine->init(ram_size, boot_devices,
kernel_filename, kernel_cmdline, initrd_filename, cpu_model);