QEMU With E2K User Support
Go to file
Hu Tao 7c2bbf4aa6 qcow2: check for NULL l2meta
In the case of a metadata preallocation with a large cluster size,
qcow2_alloc_cluster_offset() can allocate nothing and returns a
NULL l2meta. This patch checks for it and link2 l2 with only valid
l2meta.

Replace 9 and 512 with BDRV_SECTOR_BITS, BDRV_SECTOR_SIZE
respectively while at the function.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-02-09 09:12:39 +01:00
audio Add the ability to vary Spice playback and record rates, to facilitate Opus support. 2014-02-03 11:05:15 +01:00
backends virtio_rng: replace custom backend API with UserCreatable.complete() callback 2014-01-28 12:47:11 -05:00
block qcow2: check for NULL l2meta 2014-02-09 09:12:39 +01:00
bsd-user
default-configs default-configs: Add config for aarch64-linux-user 2014-01-08 19:07:21 +00:00
disas disas/i386.c: disassemble movbe instruction 2014-01-25 14:12:17 -08:00
docs acpi,pci,pc,virtio fixes and enhancements 2014-01-31 00:23:27 +00:00
dtc@bc895d6d09
fpu softfloat: Add support for ties-away rounding 2014-01-08 19:07:22 +00:00
fsdev
gdb-xml target-arm: Support fp registers in gdb stub 2013-12-17 19:42:32 +00:00
hw target-lm32: fixes 2014-02-08 15:57:51 +00:00
include migration/next for 20140204 2014-02-08 13:12:50 +00:00
libcacard vscclient: do not add a socket watch if there is not data to send 2013-12-16 10:12:19 +01:00
linux-headers kvm: add support for hyper-v timers 2014-02-03 17:33:55 +01:00
linux-user linux-user: Fix trampoline code for CRIS 2014-02-03 14:04:00 +00:00
net tap-linux: Get features once and use it many times 2014-01-27 15:44:06 +01:00
pc-bios Update seabios to 1.7.4 2014-02-07 16:42:13 +00:00
pixman@97336fad32
po
qapi
qga
qobject qapi: extend qdict_flatten() for QLists 2014-01-22 12:07:17 +01:00
qom add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
roms Update seabios to 1.7.4 2014-02-07 16:42:13 +00:00
scripts Tracing pull request 2014-01-31 11:13:08 +00:00
slirp
stubs
sysconfigs/target
target-alpha misc: Replace 'struct QEMUTimer' by 'QEMUTimer' 2013-12-02 21:03:39 +04:00
target-arm target-arm: A64: Add SIMD shift by immediate 2014-01-31 14:47:37 +00:00
target-cris cris: Add interrupt signals to the CPU device 2014-02-03 14:03:59 +00:00
target-i386 target-i386: Move KVM default-vendor hack to instance_init 2014-02-03 17:33:55 +01:00
target-lm32 target-lm32: stop VM on illegal or unknown instruction 2014-02-04 19:47:39 +01:00
target-m68k
target-microblaze Microblaze: Convert Microblaze-pic handling to GPIOs 2014-01-14 11:08:36 +10:00
target-mips target-mips: Use new qemu_ld/st opcodes 2013-12-21 16:42:11 +01:00
target-moxie
target-openrisc openrisc: Fix spelling in comment (transaltion -> translation) 2013-12-23 16:02:19 +04:00
target-ppc PPC: Fix compilation with TCG debug 2013-12-22 19:15:55 +01:00
target-s390x s390x/kvm: cleanup partial register handling 2014-01-31 09:43:44 +01:00
target-sh4 target-sh4: Use new qemu_ld/st opcodes 2013-12-21 16:42:15 +01:00
target-sparc SPARC: Fix LEON3 power down instruction 2014-01-15 15:37:33 +10:00
target-unicore32
target-xtensa
tcg tcg/s390: Remove sigill_handler 2014-02-01 13:45:20 +04:00
tests block: Fail gracefully with missing filename 2014-02-09 09:12:38 +01:00
trace trace: add glib 2.32+ static GMutex support 2014-01-27 15:49:39 +01:00
ui gtk: Support keyboard translation for hosts running Windows 2014-01-20 19:30:28 +01:00
util osdep: drop unused #include "trace.h" 2014-02-01 13:42:38 +04:00
.exrc
.gitignore .gitignore: Ignore config.status 2013-12-02 21:02:57 +04:00
.gitmodules
.mailmap
.travis.yml .travis.yml: Add aarch64-* targets 2014-01-08 19:07:20 +00:00
aio-posix.c aio: make aio_poll(ctx, true) block with no fds 2013-12-06 16:53:51 +01:00
aio-win32.c aio: make aio_poll(ctx, true) block with no fds 2013-12-06 16:53:51 +01:00
arch_init.c Don't abort on memory allocation error 2014-02-04 16:50:37 +01:00
async.c
balloon.c
block-migration.c block: per caller dirty bitmap 2013-11-29 13:40:33 +01:00
block.c block: Fail gracefully with missing filename 2014-02-09 09:12:38 +01:00
blockdev-nbd.c
blockdev.c qmp: Allow to take external snapshots on bs graphs node. 2014-01-24 16:07:08 +01:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure block: add native support for NFS 2014-02-09 09:12:38 +01:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c QOM CPUState refactorings / X86CPU 2014-01-10 11:04:31 -08:00
cpus.c target-i386: Move apic_state field from CPUX86State to X86CPU 2013-12-23 16:30:40 +01:00
cputlb.c memory: split cpu_physical_memory_* functions to its own include 2014-01-13 14:04:54 +01:00
device_tree.c device_tree: qemu_fdt_setprop: Rename val_array arg 2013-12-20 01:58:12 +01:00
device-hotplug.c
disas.c
dma-helpers.c
dump.c
exec.c address_space_translate: do not cross page boundaries 2014-01-30 14:20:45 +00:00
gdbstub.c
HACKING
hmp-commands.hx block: update block commit documentation regarding image truncation 2014-01-24 16:12:49 +01:00
hmp.c qmp: Allow to take external snapshots on bs graphs node. 2014-01-24 16:07:08 +01:00
hmp.h monitor: add object-add (QMP) and object_add (HMP) command 2014-01-06 13:45:47 -05:00
iohandler.c
ioport.c
kvm-all.c Merge remote-tracking branch 'remotes/kvm/uq/master' into staging 2014-02-06 23:51:24 +00:00
kvm-stub.c
LICENSE
main-loop.c
MAINTAINERS block: add native support for NFS 2014-02-09 09:12:38 +01:00
Makefile Add bios-256k.bin to BLOBS on Makefile 2014-01-15 23:34:17 +04:00
Makefile.objs readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
Makefile.target
memory_mapping.c
memory.c memory: split cpu_physical_memory_* functions to its own include 2014-01-13 14:04:54 +01:00
migration-exec.c
migration-fd.c
migration-rdma.c
migration-tcp.c
migration-unix.c
migration.c XBZRLE cache size should not be larger than guest memory size 2014-02-04 16:49:28 +01:00
monitor.c trivial patches for 2014-02-02 2014-02-05 16:37:26 +00:00
nbd.c nbd: don't change socket block during negotiate 2013-12-16 10:12:20 +01:00
os-posix.c
os-win32.c
page_cache.c Don't abort on memory allocation error 2014-02-04 16:50:37 +01:00
qapi-schema.json block: add native support for NFS 2014-02-09 09:12:38 +01:00
qdev-monitor.c Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c misc: Use macro ARRAY_SIZE where possible 2013-12-23 16:02:19 +04:00
qemu-coroutine-io.c
qemu-coroutine-lock.c coroutine: remove qemu_co_queue_wait_insert_head 2013-12-02 17:11:49 +01:00
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi Describe flaws in qcow/qcow2 encryption in the docs 2014-01-31 22:05:03 +01:00
qemu-file.c qemu-file: Move QEMUFile code to qemu-file.c 2014-01-13 12:39:49 +01:00
qemu-img-cmds.hx qemu-img: add -l for snapshot in convert 2013-12-04 15:19:00 +01:00
qemu-img.c qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
qemu-img.texi Describe flaws in qcow/qcow2 encryption in the docs 2014-01-31 22:05:03 +01:00
qemu-io-cmds.c qemu-io: New command 'sleep' 2014-01-24 17:40:03 +01:00
qemu-io.c readline: Add missing GCC_FMT_ATTR 2014-02-01 13:46:06 +04:00
qemu-log.c
qemu-nbd.c qemu-nbd: add doc for option -f 2013-12-04 15:19:00 +01:00
qemu-nbd.texi qemu-nbd: add doc for option -f 2013-12-04 15:19:00 +01:00
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx doc: Mention chardev:id in available devices for -serial 2014-01-01 18:03:55 +04:00
qemu-seccomp.c seccomp: add some basic shared memory syscalls to the whitelist 2014-01-20 11:19:34 -02:00
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp-commands.hx block: update block commit documentation regarding image truncation 2014-01-24 16:12:49 +01:00
qmp.c add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
qtest.c qtest: split configuration of qtest accelerator and chardev 2013-12-10 12:29:56 +02:00
README
rules.mak
savevm.c savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c 2014-01-13 12:39:49 +01:00
spice-qemu-char.c spice: hook qemu_chr_fe_set_open() event to ports 2014-02-03 11:05:15 +01:00
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset() 2014-02-09 09:12:39 +01:00
translate-all.c kvm: initialize qemu_host_page_size 2014-01-17 11:12:07 -07:00
translate-all.h split definitions for exec.c and translate-all.c radix trees 2013-12-10 12:29:56 +02:00
user-exec.c
VERSION
version.rc
vl.c Merge remote-tracking branch 'qmp-unstable/queue/qmp' into staging 2014-02-01 23:32:31 +00:00
vmstate.c vmstate: Move VMState code to vmstate.c 2014-01-13 12:39:49 +01:00
xbzrle.c
xen-all.c xen: fix two errors when debug is enabled 2013-12-01 18:25:48 +00:00
xen-mapcache.c
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team