adding Irix (and, to a lesser extent, Solaris) userland emulation to QEMU
Go to file
Stefan Weil 4f3669ea5b block/vdi: Fix wrong size in conditionally used memset, memcmp
Error report from cppcheck:
block/vdi.c:122: error: Using sizeof for array given as function argument returns the size of pointer.
block/vdi.c:128: error: Using sizeof for array given as function argument returns the size of pointer.

Fix both by setting the correct size.

The buggy code is only used when QEMU is build without uuid support.
The bug is not critical, so there is no urgent need to apply it to
old versions of QEMU.

Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-02-07 10:07:25 +01:00
QMP
audio pulseaudio: tweak config 2011-01-25 19:56:53 +03:00
block block/vdi: Fix wrong size in conditionally used memset, memcmp 2011-02-07 10:07:25 +01:00
bsd-user bsd-user: Fix possible memory leaks and wrong realloc call 2011-01-17 20:23:47 +00:00
darwin-user
default-configs config: add ahci for pci capable machines 2010-12-17 16:11:02 +01:00
docs Add boot index documentation. 2011-02-01 16:50:44 -06:00
fpu softfloat: fix floatx80_is_{quiet,signaling}_nan() 2011-01-20 12:37:20 +01:00
fsdev Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
gdb-xml
hw ioapic: Style & magics cleanup 2011-02-04 06:33:26 -06:00
linux-user linux-user: avoid gcc array overrun warning for sparc 2011-02-01 17:03:02 +00:00
net vhost: force vhost off for non-MSI guests 2011-02-01 16:50:44 -06:00
pc-bios Update SeaBIOS to 0.6.1.2 2011-02-01 16:57:00 -06:00
roms Update SeaBIOS to 0.6.1.2 2011-02-01 16:57:00 -06:00
scripts checkpatch.pl: don't complain about old lines with tabs 2011-02-05 13:18:20 +00:00
slirp Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
sysconfigs/target
target-alpha softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan() 2011-01-02 11:15:25 +01:00
target-arm target-arm: Fix decoding of Thumb preload and hint space 2011-02-04 21:30:15 +01:00
target-cris cris: Replace tcg branch sequence with setcond 2011-01-25 19:47:06 +01:00
target-i386 Merge remote branch 'qemu-kvm/uq/master' into staging 2011-02-01 15:32:18 -06:00
target-m68k softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan() 2011-01-02 11:15:25 +01:00
target-microblaze microblaze: cleanup helper_addkc 2011-01-23 03:52:20 +01:00
target-mips target-mips: fix save_cpu_state() calls 2011-01-24 20:52:04 +01:00
target-ppc Merge remote branch 'qemu-kvm/uq/master' into staging 2011-02-01 15:32:18 -06:00
target-s390x Merge remote branch 'qemu-kvm/uq/master' into staging 2011-02-01 15:32:18 -06:00
target-sh4 target-sh4: fix negc 2011-02-04 20:19:33 +01:00
target-sparc SPARC: Fix Leon3 cache control 2011-02-01 17:01:41 +00:00
tcg tcg: README, name deposit second argument len/LEN 2011-01-20 12:16:57 +01:00
tests Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
ui vnc: qemu can die if the client is disconnected while updating screen 2011-02-04 06:33:26 -06:00
.gitignore
.gitmodules
CODING_STYLE checkpatch: adjust to QEMUisms 2011-01-20 20:58:56 +00:00
COPYING
COPYING.LIB
Changelog
HACKING
LICENSE
MAINTAINERS spice: MAINTAINERS update 2011-01-24 15:13:54 +01:00
Makefile Add scripts directory 2011-01-20 20:54:21 +00:00
Makefile.dis
Makefile.hw
Makefile.objs Merge remote branch 'spice/spice.v29.pull' into staging 2011-02-01 15:22:48 -06:00
Makefile.target SPARC: Emulation of Leon3 2011-01-24 20:54:34 +00:00
Makefile.user
README
TODO
VERSION Open up the 0.15 development branch 2011-02-02 08:39:28 +01:00
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arch_init.c audio: consolidate audio_init() 2011-01-25 09:18:00 +01:00
arch_init.h audio: consolidate audio_init() 2011-01-25 09:18:00 +01:00
arm-dis.c arm-dis: Include opcode hex when doing disassembly 2011-01-12 15:10:47 +01:00
arm-semi.c Fix commandline handling for ARM semihosted executables 2011-01-07 18:20:48 +02:00
arm.ld
async.c
balloon.c
balloon.h
block-migration.c Fix block migration when the device size is not a multiple of 1 MB 2011-01-24 16:41:50 +01:00
block-migration.h
block.c block: tell drivers about an image resize 2011-01-31 10:03:00 +01:00
block.h block: tell drivers about an image resize 2011-01-31 10:03:00 +01:00
block_int.h block: tell drivers about an image resize 2011-01-31 10:03:00 +01:00
blockdev.c blockdev: Fix drive_add for drives without media 2011-01-31 11:59:24 +01:00
blockdev.h blockdev: Fix drive_add for drives without media 2011-01-31 11:59:24 +01:00
bswap.h bswap.h: add cpu_to_be64wu() 2011-01-10 10:55:10 +01:00
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c
buffered_file.h
cache-utils.c
cache-utils.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qstring.c
cmd.c
cmd.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
compatfd.c
compatfd.h
config.h
configure Merge remote branch 'qemu-kvm/uq/master' into staging 2011-02-01 15:32:18 -06:00
console.c remove text_console_opts 2011-02-01 16:50:43 -06:00
console.h vnc: Fix password expiration through 'change vnc ""' (v2) 2011-02-01 15:16:48 -06:00
cpu-all.h x86: Optionally dump code bytes on cpu_dump_state 2011-01-23 02:27:20 -02:00
cpu-common.h
cpu-defs.h
cpu-exec.c target-mips: fix host CPU consumption when guest is idle 2010-12-27 00:58:06 +01:00
cpus.c kvm: Do not use qemu_fair_mutex 2011-01-23 02:27:22 -02:00
cpus.h
cris-dis.c cris: Support disassembly of crisv10 2011-01-10 22:31:09 +01:00
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cutils.c strtosz(): Use suffix macros in switch() statement 2011-01-31 10:03:00 +01:00
def-helper.h
device_tree.c
device_tree.h
dis-asm.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
disas.c disas: remove opcode printing on ARM hosts 2011-01-12 15:12:58 +01:00
disas.h
dma-helpers.c
dma.h
dyngen-exec.h
elf.h
envlist.c
envlist.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
exec-all.h Delete useless 'extern' qualifiers for functions 2011-01-23 16:21:20 +00:00
exec.c tcg/sparc64: fix segfault 2011-01-16 08:32:27 +00:00
gdbstub.c gdbstub: Close connection in gdb_exit 2011-01-16 20:56:01 +01:00
gdbstub.h Add scripts directory 2011-01-20 20:54:21 +00:00
gen-icount.h
hmp-commands.hx Merge remote branch 'qemu-kvm/uq/master' into staging 2011-02-01 15:32:18 -06:00
host-utils.c
host-utils.h
hpet.h
hppa-dis.c
hppa.ld
i386-dis.c
i386.ld
ia64-dis.c
ia64.ld
input.c
ioport-user.c
ioport.c
ioport.h
iorange.h
iov.c
iov.h
json-lexer.c
json-lexer.h
json-parser.c
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c Merge remote branch 'qemu-kvm/uq/master' into staging 2011-02-01 15:32:18 -06:00
kvm-stub.c kvm: Drop smp_cpus argument from init functions 2011-01-23 02:27:21 -02:00
kvm.h kvm: Consolidate must-have capability checks 2011-01-23 02:27:22 -02:00
libfdt_env.h
linux-aio.c
m68k-dis.c
m68k-semi.c
m68k.ld
microblaze-dis.c
migration-exec.c
migration-fd.c
migration-tcp.c
migration-unix.c
migration.c add migration state change notifiers 2011-01-24 15:13:54 +01:00
migration.h add migration state change notifiers 2011-01-24 15:13:54 +01:00
mips-dis.c
mips.ld
module.c
module.h
monitor.c add qemu_chr_set_echo 2011-02-01 16:50:43 -06:00
monitor.h
nbd.c
nbd.h
net-checksum.c
net.c
net.h Add bootindex parameter to net/block/fd device 2010-12-11 21:32:46 +00:00
notify.c
notify.h
os-posix.c
os-win32.c
osdep.c
osdep.h
oslib-posix.c
oslib-win32.c
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h
posix-aio-compat.c
ppc-dis.c
ppc.ld
ppc64.ld
qbool.c
qbool.h
qdict-test-data.txt
qdict.c
qdict.h
qemu-aio.h
qemu-barrier.h
qemu-char.c fix QemuOpts leak 2011-02-01 16:50:44 -06:00
qemu-char.h add qemu_chr_set_echo 2011-02-01 16:50:43 -06:00
qemu-common.h blockdev: Move BlockInterfaceType from qemu-common.h to blockdev.h 2011-01-31 10:24:25 +01:00
qemu-config.c spice: add chardev (v5) 2011-01-24 15:41:40 +01:00
qemu-config.h
qemu-doc.texi Documentation: add Sheepdog disk images 2011-02-07 09:44:45 +01:00
qemu-error.c
qemu-error.h
qemu-img-cmds.hx
qemu-img.c Make strtosz() return int64_t instead of ssize_t 2011-01-24 11:08:50 +01:00
qemu-img.texi Documentation: Add qemu-img check/rebase 2011-01-24 16:41:49 +01:00
qemu-io.c qemu-io: Fix discard command 2011-01-31 10:03:00 +01:00
qemu-lock.h
qemu-log.h
qemu-malloc.c Add missing tracing to qemu_mallocz() 2010-12-14 15:44:21 +01:00
qemu-nbd.c Remove NULL checks for bdrv_new return value 2010-12-17 16:11:03 +01:00
qemu-nbd.texi
qemu-objects.h
qemu-option.c qemu-option: Fix parse_option_parameters() documentation typo 2010-12-14 15:44:21 +01:00
qemu-option.h
qemu-options.h
qemu-options.hx vhost: force vhost off for non-MSI guests 2011-02-01 16:50:44 -06:00
qemu-os-posix.h
qemu-os-win32.h
qemu-queue.h
qemu-sockets.c
qemu-tech.texi qemu-tech: Spelling fixes 2011-01-09 20:59:53 +00:00
qemu-thread.c
qemu-thread.h
qemu-timer-common.c Add OpenBSD to ifdef list since it has CLOCK_MONOTONIC. 2010-12-21 19:44:42 +00:00
qemu-timer.c Unify alarm deadline computation 2011-02-04 06:33:26 -06:00
qemu-timer.h
qemu-tool.c
qemu-x509.h
qemu.sasl
qemu_socket.h
qerror.c pci: allow devices being tagged as not hotpluggable. 2011-01-10 13:29:16 +02:00
qerror.h pci: allow devices being tagged as not hotpluggable. 2011-01-10 13:29:16 +02:00
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c
qjson.h
qlist.c
qlist.h
qmp-commands.hx Merge remote branch 'spice/spice.v29.pull' into staging 2011-02-01 15:22:48 -06:00
qobject.h
qstring.c
qstring.h
range.h
readline.c
readline.h
rules.mak Add scripts directory 2011-01-20 20:54:21 +00:00
rwhandler.c Make simple io mem handler endian aware 2010-12-11 15:24:25 +00:00
rwhandler.h Make simple io mem handler endian aware 2010-12-11 15:24:25 +00:00
s390-dis.c
s390.ld
savevm.c savevm: fix corruption in vmstate_subsection_load(). 2011-02-04 06:33:26 -06:00
sh4-dis.c
simpletrace.c
simpletrace.h
softmmu-semi.h
softmmu_defs.h
softmmu_exec.h
softmmu_header.h
softmmu_template.h
sparc-dis.c
sparc.ld
sparc64.ld
spice-qemu-char.c spice: add chardev (v5) 2011-01-24 15:41:40 +01:00
sysemu.h audio: consolidate audio_init() 2011-01-25 09:18:00 +01:00
targphys.h
tcg-runtime.c
thunk.c
thunk.h
trace-events Merge remote branch 'spice/spice.v29.pull' into staging 2011-02-01 15:22:48 -06:00
translate-all.c
uboot_image.h
usb-bsd.c usb-bsd: fix a file descriptor leak 2011-01-09 14:43:33 +00:00
usb-linux.c
usb-stub.c
version.rc
vgafont.h
vl.c do not pass NULL to strdup. 2011-02-04 21:21:41 +01:00
x86_64.ld

README

Read the documentation in qemu-doc.html.

Fabrice Bellard.