KVM: x86 emulator: add new ->halt() callback
[deliverable/linux.git] / arch / x86 / kvm / emulate.c
index 5d774e91388ec6e9a54e923d020afd9d14d83917..210df51b76a4557b45f9b56bf958755195c91d6f 100644 (file)
@@ -3913,7 +3913,7 @@ special_insn:
                c->dst.type = OP_NONE;  /* Disable writeback. */
                break;
        case 0xf4:              /* hlt */
-               ctxt->vcpu->arch.halt_request = 1;
+               ctxt->ops->halt(ctxt);
                break;
        case 0xf5:      /* cmc */
                /* complement carry flag from eflags reg */
This page took 0.027581 seconds and 5 git commands to generate.