QEMU With E2K User Support
Go to file
Peter Maydell 15124e1420 main-loop.c: Handle SIGINT, SIGHUP and SIGTERM synchronously
Add the termination signals SIGINT, SIGHUP and SIGTERM to the
list of signals which we handle synchronously via a signalfd.
This avoids a race condition where if we took the SIGTERM
in the middle of qemu_shutdown_requested:
    int r = shutdown_requested;
[SIGTERM here...]
    shutdown_requested = 0;

then the setting of the shutdown_requested flag by
termsig_handler() would be lost and QEMU would fail to
shut down. This was causing 'make check' to hang occasionally.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1411660269-11081-1-git-send-email-peter.maydell@linaro.org
Cc: qemu-stable@nongnu.org
2014-09-26 11:47:30 +01:00
audio
backends pci, pc, virtio, misc bugfixes 2014-09-18 20:02:01 +01:00
block -----BEGIN PGP SIGNATURE----- 2014-09-23 12:08:55 +01:00
bsd-user
default-configs PPC: Fix default config ordering and add eTSEC for ppc64 2014-09-08 12:50:54 +02:00
disas
docs -----BEGIN PGP SIGNATURE----- 2014-09-23 12:08:55 +01:00
dtc@bc895d6d09
fpu
fsdev
gdb-xml
hw tcx: Implement hardware acceleration 2014-09-24 13:45:13 +01:00
include qom: Add cpu_exec_interrupt hook 2014-09-25 18:54:21 +01:00
libcacard Fix typos and misspellings in comments 2014-09-20 17:55:53 +04:00
libdecnumber
linux-headers virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
linux-user exec.c: Relax restrictions on watchpoint length and alignment 2014-09-12 14:06:48 +01:00
net
pc-bios Update OpenBIOS images 2014-09-25 13:34:03 +01:00
pixman@87eea99e44 pixman: update internal copy to pixman-0.32.6 2014-09-15 08:14:19 +02:00
po
qapi block: delete cow block driver 2014-09-22 11:39:45 +01:00
qga
qobject
qom qom: Add cpu_exec_interrupt hook 2014-09-25 18:54:21 +01:00
roms Update OpenBIOS images 2014-09-25 13:34:03 +01:00
scripts qapi: Allow enums in anonymous unions 2014-09-22 11:39:33 +01:00
slirp slirp: udp: fix NULL pointer dereference because of uninitialized socket 2014-09-23 19:15:05 +01:00
stubs
sysconfigs/target
target-alpha target-alpha: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
target-arm target-arm: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-cris target-cris: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
target-i386 target-i386: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-lm32 target-lm32: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-m68k target-m68k: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
target-microblaze target-microblaze: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-mips target-mips: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-moxie
target-openrisc target-openrisc: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-ppc target-ppc: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-s390x target-s390x: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
target-sh4 target-sh4: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-sparc target-sparc: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-tricore target-tricore: Remove the dummy interrupt boilerplate 2014-09-25 18:54:22 +01:00
target-unicore32 target-unicore32: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:22 +01:00
target-xtensa target-xtensa: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
tcg
tests async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
trace trace: Only link generated-tracers.o with "simple" backend 2014-09-09 13:13:05 +02:00
ui block: delete cow block driver 2014-09-22 11:39:45 +01:00
util util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram() 2014-09-16 23:36:32 +01:00
.exrc
.gitignore
.gitmodules
.mailmap
.travis.yml
aio-posix.c
aio-win32.c aio-win32: avoid out-of-bounds access to the events array 2014-09-22 11:39:21 +01:00
arch_init.c
async.c async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
balloon.c
block-migration.c
block.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
blockdev-nbd.c
blockdev.c blockdev: Refuse to drive_del something added with blockdev-add 2014-09-11 17:14:24 +02:00
blockjob.c
bt-host.c
bt-vhci.c
Changelog
CODING_STYLE
configure -----BEGIN PGP SIGNATURE----- 2014-09-23 12:08:55 +01:00
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-exec.c cpu-exec: Do CPU_INTERRUPT_HALT unconditionally 2014-09-25 18:54:22 +01:00
cpus.c cpu: init vmstate for ticks and clock offset 2014-09-11 12:20:32 +02:00
cputlb.c
device_tree.c
device-hotplug.c
disas.c
dma-helpers.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
dump.c
exec.c exec.c: fix setting 1-byte-long watchpoints 2014-09-19 17:42:16 +01:00
gdbstub.c gdbstub: init mon_chr through qemu_chr_alloc 2014-09-11 12:20:33 +02:00
HACKING
hmp-commands.hx
hmp.c hmp: fix memory leak at hmp_info_block_jobs() 2014-09-22 11:39:31 +01:00
hmp.h
iohandler.c
ioport.c
iothread.c async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
kvm-all.c - Memory: improve error reporting and avoid crashes on hotplug 2014-09-12 16:55:49 +01:00
kvm-stub.c
LICENSE
main-loop.c main-loop.c: Handle SIGINT, SIGHUP and SIGTERM synchronously 2014-09-26 11:47:30 +01:00
MAINTAINERS
Makefile
Makefile.objs
Makefile.target
memory_mapping.c
memory.c memory: add parameter errp to memory_region_init_rom_device 2014-09-09 13:41:44 +02:00
migration-exec.c
migration-fd.c
migration-rdma.c rdma: Fix incorrect description in comments 2014-09-20 17:55:53 +04:00
migration-tcp.c
migration-unix.c
migration.c
module-common.c
monitor.c monitor: fix debug print compiling error 2014-09-12 11:01:50 -04:00
nbd.c
numa.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
os-posix.c
os-win32.c
page_cache.c
qapi-schema.json
qdev-monitor.c qdev-monitor: fix segmentation fault on qdev_device_help() 2014-09-22 11:39:18 +01:00
qdict-test-data.txt
qemu-bridge-helper.c
qemu-char.c qemu-char: Permit only a single "stdio" character device 2014-09-20 17:55:53 +04:00
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-doc.texi block: delete cow block driver 2014-09-22 11:39:45 +01:00
qemu-file.c
qemu-img-cmds.hx
qemu-img.c async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
qemu-img.texi block: delete cow block driver 2014-09-22 11:39:45 +01:00
qemu-io-cmds.c
qemu-io.c async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
qemu-log.c
qemu-nbd.c async: aio_context_new(): Handle event_notifier_init failure 2014-09-22 11:39:48 +01:00
qemu-nbd.texi
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx
qemu-seccomp.c
qemu-tech.texi
qemu-timer.c
qemu.nsi
qemu.sasl
qmp-commands.hx block: delete cow block driver 2014-09-22 11:39:45 +01:00
qmp.c
qtest.c
README
rules.mak Fix cross compilation (nm command) 2014-09-19 17:20:11 +01:00
savevm.c
softmmu_template.h
spice-qemu-char.c qemu-char: Rename register_char_driver_qapi() to register_char_driver() 2014-09-16 23:36:32 +01:00
tcg-runtime.c
tci.c
thread-pool.c block: Rename qemu_aio_release -> qemu_aio_unref 2014-09-22 11:39:17 +01:00
thunk.c
tpm.c
trace-events ohci: Convert fprint/DPRINTF/print to traces 2014-09-23 12:51:06 +02:00
translate-all.c
translate-all.h
user-exec.c
VERSION
version.rc
vl.c -----BEGIN PGP SIGNATURE----- 2014-09-23 12:08:55 +01:00
vmstate.c
xbzrle.c
xen-common-stub.c
xen-common.c
xen-hvm-stub.c
xen-hvm.c xen-hvm.c: Always return -1 when failure occurs in xen_hvm_init() 2014-09-20 17:55:53 +04:00
xen-mapcache.c

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

- QEMU team