Patchwork [2/7] No need for kvm_init() stub as already defined in qemu-kvm.h

login
register
mail settings
Submitter Jes Sorensen
Date June 15, 2010, 12:51 p.m.
Message ID <1276606278-24268-3-git-send-email-Jes.Sorensen@redhat.com>
Download mbox | patch
Permalink /patch/55660/
State New
Headers show

Comments

Jes Sorensen - June 15, 2010, 12:51 p.m.
From: Jes Sorensen <Jes.Sorensen@redhat.com>

No need for kvm_init() stub in kvm-stub.c as already defined in
qemu-kvm.h

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 kvm-stub.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Patch

diff --git a/kvm-stub.c b/kvm-stub.c
index 7be5f5d..645fa1d 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -57,11 +57,6 @@  int kvm_check_extension(KVMState *s, unsigned int extension)
     return 0;
 }
 
-int kvm_init(int smp_cpus)
-{
-    return -ENOSYS;
-}
-
 void kvm_flush_coalesced_mmio_buffer(void)
 {
 }