Go to file
Anthony Liguori f789743095 Fix module initialization when more than 1 class is in use
Now that we're using enums for module types, it makes no sense to bother keeping
a list of module types when we know exactly how many they are.

Switching to an array simplifies the code and eliminates the aforementioned bug.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-14 18:06:49 -05:00
audio
block
bsd-user
darwin-user
fpu
gdb-xml
hw
keymaps
linux-user
pc-bios
slirp
target-alpha
target-arm
target-cris
target-i386
target-m68k
target-mips
target-ppc
target-sh4
target-sparc
tcg
tests
.gitignore
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arm-dis.c
arm-semi.c
arm.ld
balloon.h
block_int.h
block.c
block.h
bswap.h
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c
buffered_file.h
cache-utils.c
cache-utils.h
Changelog
cmd.c
cmd.h
cocoa.m
CODING_STYLE
configure
console.c
console.h
COPYING
COPYING.LIB
cpu-all.h
cpu-defs.h
cpu-exec.c
cris-dis.c
curses_keys.h
curses.c
cutils.c
d3des.c
d3des.h
def-helper.h
device_tree.c
device_tree.h
dis-asm.h
disas.c
disas.h
dma-helpers.c
dma.h
dyngen-exec.h
elf_ops.h
elf.h
exec-all.h
exec.c
feature_to_c.sh
gdbstub.c
gdbstub.h
gen-icount.h
host-utils.c
host-utils.h
hostregs_helper.h
hpet.h
hppa-dis.c
hppa.ld
hxtool
i386-dis.c
i386.ld
ia64.ld
keymaps.c
keymaps.h
kqemu.c
kqemu.h
kvm-all.c
kvm.h
libfdt_env.h
LICENSE
loader.c
m68k-dis.c
m68k-semi.c
m68k.ld
MAINTAINERS
Makefile
Makefile.target
migration-exec.c
migration-tcp.c
migration.c
migration.h
mips-dis.c
mips.ld
mipsel.ld
module.c Fix module initialization when more than 1 class is in use 2009-05-14 18:06:49 -05:00
module.h Fix module initialization when more than 1 class is in use 2009-05-14 18:06:49 -05:00
monitor.c
monitor.h
nbd.c
nbd.h
net-checksum.c
net.c
net.h
osdep.c
osdep.h
pci-ids.txt
posix-aio-compat.c
posix-aio-compat.h
ppc64.ld
ppc-dis.c
ppc.ld
qemu_socket.h
qemu-aio.h
qemu-binfmt-conf.sh
qemu-char.c
qemu-char.h
qemu-common.h
qemu-doc.texi
qemu-img.c
qemu-img.texi
qemu-io.c
qemu-lock.h
qemu-log.h
qemu-malloc.c
qemu-nbd.c
qemu-nbd.texi
qemu-options.hx
qemu-sockets.c
qemu-tech.texi
qemu-thread.c
qemu-thread.h
qemu-timer.h
qemu-tool.c
qemu.sasl
readline.c
readline.h
README
rules.mak
s390-dis.c
s390.ld
savevm.c
sdl_keysym.h
sdl.c
sh4-dis.c
softmmu_defs.h
softmmu_exec.h
softmmu_header.h
softmmu_template.h
softmmu-semi.h
sparc64.ld
sparc-dis.c
sparc.ld
sys-queue.h
sysemu.h
tap-win32.c
texi2pod.pl
thunk.c
thunk.h
TODO
tool-osdep.c
translate-all.c
uboot_image.h
usb-bsd.c
usb-linux.c
usb-stub.c
VERSION
vgafont.h
vl.c
vnc_keysym.h
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-tls.c
vnc-tls.h
vnc.c
vnc.h
vnchextile.h
x86_64.ld
x_keymap.c
x_keymap.h

Read the documentation in qemu-doc.html.

Fabrice Bellard.