]> Git Repo - qemu.git/commit - cpus.c
cpus: remove ugly cast on sigbus_handler
authorPaolo Bonzini <[email protected]>
Wed, 8 Feb 2017 12:22:12 +0000 (13:22 +0100)
committerPaolo Bonzini <[email protected]>
Fri, 3 Mar 2017 15:40:02 +0000 (16:40 +0100)
commitd98d407234713d05b77114237f839c43a8152089
tree2a4a461d82af63d83f2fdce46eb73de3ac654ba8
parent30f3dda24b2a4cd30f8fbf984ab08ef08eaf5020
cpus: remove ugly cast on sigbus_handler

The cast is there because sigbus_handler is invoked via sigfd_handler.
But it feels just wrong to use struct qemu_signalfd_siginfo in the
prototype of a function that is passed to sigaction.

Instead, do a simple-minded conversion of qemu_signalfd_siginfo to
siginfo_t.

Signed-off-by: Paolo Bonzini <[email protected]>
cpus.c
include/qemu/compatfd.h [deleted file]
include/qemu/osdep.h
util/compatfd.c
util/main-loop.c
util/oslib-posix.c
This page took 0.026717 seconds and 4 git commands to generate.