diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:06 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:06 +0100 |
commit | aae9460e244c7abe70b72ff374b3aa102bb09691 (patch) | |
tree | aeed206df23f689a13c332ac9831e382a684dd57 /vl.c | |
parent | 019d6b8ff0d495ded6977f24a4e8fd1c7fec09e0 (diff) | |
download | qemu-aae9460e244c7abe70b72ff374b3aa102bb09691.zip qemu-aae9460e244c7abe70b72ff374b3aa102bb09691.tar.gz qemu-aae9460e244c7abe70b72ff374b3aa102bb09691.tar.bz2 |
Basic qdev infrastructure.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |