[PATCH 2/4] qemu: Refactor default panic model