commit | aae9460e244c7abe70b72ff374b3aa102bb09691 | [log] [tgz] |
---|---|---|
author | Paul Brook <paul@codesourcery.com> | Thu May 14 22:35:06 2009 +0100 |
committer | Paul Brook <paul@codesourcery.com> | Thu May 14 22:35:06 2009 +0100 |
tree | aeed206df23f689a13c332ac9831e382a684dd57 | |
parent | 019d6b8ff0d495ded6977f24a4e8fd1c7fec09e0 [diff] [blame] |
Basic qdev infrastructure. Signed-off-by: Paul Brook <paul@codesourcery.com>
diff --git a/vl.c b/vl.c index b43cdd1..40b1d8b 100644 --- a/vl.c +++ b/vl.c
@@ -2565,6 +2565,8 @@ case IF_MTD: case IF_VIRTIO: break; + case IF_COUNT: + abort(); } if (!file[0]) return -2; @@ -5896,6 +5898,8 @@ } } + module_call_init(MODULE_INIT_DEVICE); + machine->init(ram_size, boot_devices, kernel_filename, kernel_cmdline, initrd_filename, cpu_model);