QEMU With E2K User Support
Go to file
John Snow 713e8a1022 virtio-rng: Add human-readable error message for negative max-bytes parameter
If a negative integer is used for the max_bytes parameter, QEMU currently
calls abort() and leaves behind a core dump. This patch replaces the
abort with a simple error message to make the reason for the termination
clearer. This also ensures device-hotplug with invalid input doesn't
cause qemu to quit.

There is an underlying insufficiency in the parameter parsing code of QEMU
that renders it unable to reject negative values for unsigned properties,
thus the error message "a non-negative integer below 2^63" is the most
user-friendly and correct message we can give until the underlying
insufficiency is corrected.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2014-07-22 17:18:55 +05:30
audio
backends rng-random: NULL check not needed before g_free() 2014-06-24 20:01:24 +04:00
block raw-posix: Fail gracefully if no working alignment is found 2014-07-18 13:18:43 +01:00
bsd-user
default-configs
disas disas/libvixl: prepend the include path of libvixl header files 2014-07-08 12:45:57 +01:00
docs AioContext: speed up aio_notify 2014-07-09 15:50:11 +02:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw virtio-rng: Add human-readable error message for negative max-bytes parameter 2014-07-22 17:18:55 +05:30
include trivial patches for 2014-07-18 2014-07-18 16:59:29 +01:00
libcacard vscclient: Add required headers to fix build on FreeBSD 2014-06-24 20:01:24 +04:00
libdecnumber
linux-headers
linux-user linux-user: use TARGET_SA_ONSTACK in get_sigframe 2014-07-15 17:08:41 +03:00
net slirp: Give error message if hostfwd_add/remove for unrecognized vlan/stack 2014-07-18 17:45:36 +04:00
pc-bios pc-bios/s390-ccw: update binary 2014-07-08 15:08:03 +02:00
pixman@97336fad32
po
qapi block: add backing-file option to block-stream 2014-07-01 10:47:01 +02:00
qga qga: Add missing 'static' attribute 2014-07-18 17:45:37 +04:00
qobject
qom qom: object: Ignore refs/unrefs of NULL 2014-07-01 10:20:41 +02:00
roms pseries: Update SLOF firmware image to qemu-slof-20140630 2014-07-08 12:10:36 +02:00
scripts vmstate static checker: detect section renames 2014-07-16 14:29:34 +05:30
slirp Increase maximum number of session of the internal TFTP server. 2014-06-24 20:01:24 +04:00
stubs Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging 2014-06-24 13:06:13 +01:00
sysconfigs/target
target-alpha
target-arm target-arm: Implement vCPU reset via KVM_ARM_VCPU_INIT for 32-bit CPUs 2014-07-08 13:05:11 +01:00
target-cris
target-i386 target-i386: Allow execute from user mode when SMEP is enabled. 2014-07-15 18:43:14 +02:00
target-lm32
target-m68k
target-microblaze
target-mips mips/kvm: Disable FPU on reset with KVM 2014-07-09 18:17:04 +02:00
target-moxie
target-openrisc openrisc: fix comment 2014-06-29 18:59:06 +03:00
target-ppc spapr: Move RMA memory region registration code 2014-07-15 16:11:59 +02:00
target-s390x s390x/kvm: synchronize guest floating point registers 2014-07-14 09:15:38 +02:00
target-sh4
target-sparc
target-unicore32 target-unicore: Remove unused functions 2014-06-24 20:01:24 +04:00
target-xtensa
tcg tcg/ppc: Fix support for 64-bit PPC MacOSX hosts 2014-06-29 11:38:50 +01:00
tests trivial patches for 2014-07-18 2014-07-18 16:59:29 +01:00
trace
ui spice: auth fixes 2014-07-11 14:50:18 +01:00
util module: Don't complain when a module is absent 2014-07-18 14:57:35 +02:00
.exrc
.gitignore qapi: ignore generated event files 2014-06-27 09:27:55 -04:00
.gitmodules
.mailmap
.travis.yml
aio-posix.c AioContext: speed up aio_notify 2014-07-09 15:50:11 +02:00
aio-win32.c block: drop aio functions that operate on the main AioContext 2014-07-09 15:50:11 +02:00
arch_init.c
async.c AioContext: speed up aio_notify 2014-07-09 15:50:11 +02:00
balloon.c
block-migration.c migration: Add missing 'static' attribute 2014-07-18 17:45:37 +04:00
block.c block: Add Error argument to bdrv_refresh_limits() 2014-07-18 13:18:43 +01:00
blockdev-nbd.c nbd: Shutdown socket before closing. 2014-06-30 12:50:12 +02:00
blockdev.c block: add backing-file option to block-stream 2014-07-01 10:47:01 +02:00
blockjob.c block: prefer aio_poll to qemu_aio_wait 2014-07-09 15:50:11 +02:00
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure Enforce stack protector usage 2014-07-10 17:06:29 +02:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c coroutine-win32.c: Add noinline attribute to work around gcc bug 2014-06-26 14:08:14 +01:00
cpu-exec.c
cpus.c
cputlb.c
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c dma-helpers: Fix too long qiov 2014-07-14 12:03:21 +02:00
dump.c
exec.c memory: do not give a name to the internal exec.c regions 2014-07-01 10:20:41 +02:00
gdbstub.c
HACKING
hmp-commands.hx
hmp.c block: add backing-file option to block-stream 2014-07-01 10:47:01 +02:00
hmp.h
iohandler.c
ioport.c
iothread.c AioContext: do not rely on aio_poll(ctx, true) result to end a loop 2014-07-14 12:03:20 +02:00
kvm-all.c
kvm-stub.c
LICENSE
main-loop.c block: drop aio functions that operate on the main AioContext 2014-07-09 15:50:11 +02:00
MAINTAINERS MAINTAINERS: add Stefan Hajnoczi to IDE maintainers 2014-07-07 09:15:29 +02:00
Makefile PPC: e500: Actually install u-boot.e500 2014-07-08 12:10:37 +02:00
Makefile.objs
Makefile.target configure: Fix -lm test, so that tools can be compiled on hosts that require -lm 2014-07-01 10:36:28 +02:00
memory_mapping.c
memory.c memory: MemoryRegion: Add size property 2014-07-01 10:20:41 +02:00
migration-exec.c
migration-fd.c
migration-rdma.c rdma: bug fixes 2014-06-23 19:09:50 +02:00
migration-tcp.c
migration-unix.c
migration.c
module-common.c
monitor.c serial: poll the serial console with G_IO_HUP 2014-06-30 15:04:34 +02:00
nbd.c nbd: Handle NBD_OPT_LIST option. 2014-06-30 12:50:17 +02:00
numa.c numa: check for busy memory backend 2014-07-06 09:13:53 +03:00
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json mc146818rtc: add rtc-reset-reinjection QMP command 2014-06-29 18:59:35 +03:00
qdev-monitor.c
qdict-test-data.txt
qemu-bridge-helper.c qemu-bridge-helper: Fix fd leak in main() 2014-06-27 10:39:10 +02:00
qemu-char.c qemu-char: fix deadlock with "-monitor pty" 2014-07-14 16:13:58 +02:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi doc: slirp supports ICMP echo if enabled in Linux 2014-07-18 17:45:37 +04:00
qemu-file.c
qemu-img-cmds.hx
qemu-img.c qemu-img: Remove redundancy "ret = -1" 2014-07-18 17:45:37 +04:00
qemu-img.texi Fix nocow typos in manpage 2014-07-07 09:15:29 +02:00
qemu-io-cmds.c block: prefer aio_poll to qemu_aio_wait 2014-07-09 15:50:11 +02:00
qemu-io.c
qemu-log.c
qemu-nbd.c nbd: Shutdown socket before closing. 2014-06-30 12:50:12 +02:00
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx net: L2TPv3 transport 2014-06-27 10:39:10 +02:00
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl sasl: Avoid 'Could not find keytab file' in syslog 2014-03-15 13:54:18 +04:00
qmp-commands.hx block: add backing-file option to block-stream 2014-07-01 10:47:01 +02:00
qmp.c qmp: show QOM properties in device-list-properties 2014-07-07 11:10:05 +02:00
qtest.c
README
rules.mak build-sys: introduce install-prog macro to install&strip binaries and use it 2014-06-24 20:01:24 +04:00
savevm.c savevm: check vmsd for migratability status 2014-06-25 23:54:57 +02:00
softmmu_template.h
spice-qemu-char.c
tcg-runtime.c
tci.c
thread-pool.c
thunk.c
tpm.c
trace-events trace: add qemu_system_powerdown_request and qemu_system_shutdown_request trace events 2014-07-01 10:56:13 +02:00
translate-all.c Fix new typos (found by codespell) 2014-06-24 20:01:24 +04:00
translate-all.h
user-exec.c
VERSION Update version for v2.1.0-rc2 release 2014-07-15 18:55:37 +01:00
version.rc
vl.c machine: Replace underscores in machine's property names 2014-07-21 18:58:36 +02:00
vmstate.c vmstate: Add preallocation for migrating arrays (VMS_ALLOC flag) 2014-06-27 13:48:27 +02:00
xbzrle.c
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c Fix new typos in comments (found by codespell) 2014-07-18 17:45:36 +04:00
xen-mapcache.c xen: build on ARM 2014-07-07 10:37:40 +00:00

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

- QEMU team