Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- vl.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index 2a32cc5..22a3616 100644 --- a/vl.c +++ b/vl.c @@ -2473,6 +2473,10 @@ int main(int argc, char **argv, char **envp) break; case QEMU_OPTION_no_kvm: kvm_allowed = 0; +#ifdef CONFIG_NO_CPU_EMULATION + fprintf(stderr, "cpu emulation not configured\n"); + exit(1); +#endif break; #ifdef CONFIG_KVM case QEMU_OPTION_no_kvm_irqchip: { -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html