On 31.05.2017 14:51, Paolo Bonzini wrote: > > > On 31/05/2017 14:39, David Hildenbrand wrote: >> + expect_pgm_int(); >> + *((unsigned int*)-1) = 1; >> + check_pgm_int_code(PGM_INT_CODE_ADDRESSING); > > QEMU gets > > ABORT: selftest: Unexpected program interrupt: 5 at 0x12b4c, ilen 4 > > It seems that QEMU doesn't point the PSW at the next instruction David mentioned it in the cover letter ... you likely need this patch here first: http://patchwork.ozlabs.org/patch/768173/ Thomas