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

A message that is not in the archive (sent off-list or not yet received): 1317337484.400521268903946714.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com

#1 lore raw
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