target/mips/kvm: Assert unreachable code is not used
commit11cb076b26ff25a909f07c593f9a4e0416ac147f
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 29 Apr 2020 08:23:55 +0000 (29 10:23 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 13 Dec 2020 15:00:58 +0000 (13 16:00 +0100)
treee30055b87291842f114d21b864fc33bfb23cd528
parentdab1e1e15b559c11b980a6b921027dd4939107e9
target/mips/kvm: Assert unreachable code is not used

This code must not be used outside of KVM. Abort if it is.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200429082916.10669-3-f4bug@amsat.org>
target/mips/kvm.c