]> git.ipfire.org Git - thirdparty/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:36:37 +0000 (16:36 +0100)
commita49668769dd1068d1d60cf7604c5074cdc659ed7
treec6e67249c49dfb9c8c24330e63cfff32ff782b3a
parent97d949d9da12311aaf683d4bd1cf2504a966c73d
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>
(cherry picked from commit d7963c43b9646e4dfc69a4253c61e4bab7b661cd)
target-s390x/kvm.c