Skip to contentSkip to conversation

Replace assert(0) with abort() or cpu_abort()

RFC PATCH Paolo Bonzini 1 participant 1 message Mar 18, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines

The guest replacing one of QEMU's handlers with SIG_IGN or SIG_DFL would be "fun", too. No idea whether that's actually possible; I know next to nothing about user mode emulation.

No, the guest program cannot replace QEMU's handlers; the host OS always sees host_signal_handler for all signals. But since host_signal_handler is used also for SIGABRT, after all this is not so obscure...

Paolo