commit | d98d407234713d05b77114237f839c43a8152089 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Feb 08 13:22:12 2017 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Mar 03 16:40:02 2017 +0100 |
tree | 2a4a461d82af63d83f2fdce46eb73de3ac654ba8 | |
parent | 30f3dda24b2a4cd30f8fbf984ab08ef08eaf5020 [diff] |
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 <pbonzini@redhat.com>