From patchwork Sun Jan 10 02:27:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 71973 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0A2RdLs021606 for ; Sun, 10 Jan 2010 02:27:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475Ab0AJC1e (ORCPT ); Sat, 9 Jan 2010 21:27:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751350Ab0AJC1e (ORCPT ); Sat, 9 Jan 2010 21:27:34 -0500 Received: from cantor2.suse.de ([195.135.220.15]:51664 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280Ab0AJC1d (ORCPT ); Sat, 9 Jan 2010 21:27:33 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 78E7B8672B; Sun, 10 Jan 2010 03:27:32 +0100 (CET) From: Alexander Graf To: kvm@vger.kernel.org Cc: kvm-ppc Subject: [PATCH 1/2] KVM: PPC: Pass through program interrupts Date: Sun, 10 Jan 2010 03:27:32 +0100 Message-Id: <1263090452-30439-1-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c index 8b0ba0b..b905623 100644 --- a/arch/powerpc/kvm/emulate.c +++ b/arch/powerpc/kvm/emulate.c @@ -476,6 +476,7 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu) advance = 0; printk(KERN_ERR "Couldn't emulate instruction 0x%08x " "(op %d xop %d)\n", inst, get_op(inst), get_xop(inst)); + kvmppc_core_queue_program(vcpu, 0); } }