]> git.proxmox.com Git - mirror_qemu.git/commit
target-s390: Fail on unknown instructions
authorAlexander Graf <agraf@suse.de>
Thu, 17 Dec 2009 12:56:47 +0000 (13:56 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 18 Dec 2009 15:32:03 +0000 (16:32 +0100)
commitd7963c43b9646e4dfc69a4253c61e4bab7b661cd
tree61b337e8c55ffea1fbd05509db4c547a5f5c0149
parent3a03bfa5a219fe06779706315f2555622b51193c
target-s390: Fail on unknown instructions

We were being a bit too nice and didn't give the guest an invalid instruction
interrupt.

While that works, it's not exactly the fastest thing to do, since now the
guest doesn't know that we're not really implementing that instruction, so it
continues doing it.

We run into this with the set_page_unstable hint instruction. So let's bail out
in these cases.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-s390x/kvm.c