Skip to content
Snippets Groups Projects
user avatar
Paolo Bonzini authored
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: default avatarPaolo Bonzini <pbonzini@redhat.com>
d98d4072
History