From 18cd669c72963a6e99d428b43b73af5ef50de883 Mon Sep 17 00:00:00 2001 From: Hollis Blanchard Date: Tue, 28 Oct 2008 16:52:34 +0100 Subject: [PATCH] kvm: user: ppc: add stub nmi handler Adding a nmi stub handler for user/main-ppc.c Signed-off-by: Hollis Blanchard Signed-off-by: Christian Ehrhardt Signed-off-by: Avi Kivity --- kvm/user/main-ppc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kvm/user/main-ppc.c b/kvm/user/main-ppc.c index 14a59ac2f9..e97ab3e190 100644 --- a/kvm/user/main-ppc.c +++ b/kvm/user/main-ppc.c @@ -87,6 +87,11 @@ static int test_try_push_interrupts(void *opaque) return 0; } +static int test_try_push_nmi(void *opaque) +{ + return 0; +} + static void test_post_kvm_run(void *opaque, int vcpu) { } @@ -175,6 +180,7 @@ static struct kvm_callbacks test_callbacks = { .halt = test_halt, .io_window = test_io_window, .try_push_interrupts = test_try_push_interrupts, + .try_push_nmi = test_try_push_nmi, .post_kvm_run = test_post_kvm_run, .pre_kvm_run = test_pre_kvm_run, .powerpc_dcr_read = test_dcr_read, -- 2.11.4.GIT