public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu: add definition for kvm_qemu_check_extension to qemu-kvm.h
@ 2007-11-21  7:44 Carlo Marcelo Arenas Belon
  2007-11-22 10:28 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-11-21  7:44 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

The following patch complement c79baa60813812e8d0e34d998d609e8 to avoid the
implicit declaration of kvm_qemu_check_extension as shown by :

  kvm-53/qemu/vl.c: In function `main':
  kvm-53/qemu/vl.c:8675: warning implicit  declaration of function `kvm_qemu_check_extension'
  kvm-53/qemu/hw/pc.c:727: warning: implicit declaration of function `kvm_qemu_check_extension'

Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
 qemu/qemu-kvm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h
index 6fdfc03..57f70ec 100644
--- a/qemu/qemu-kvm.h
+++ b/qemu/qemu-kvm.h
@@ -14,6 +14,7 @@ void kvm_save_registers(CPUState *env);
 int kvm_cpu_exec(CPUState *env);
 int kvm_update_debugger(CPUState *env);
 int kvm_qemu_init_env(CPUState *env);
+int kvm_qemu_check_extension(int ext);
 void kvm_apic_init(CPUState *env);
 
 int kvm_physical_memory_set_dirty_tracking(int enable);
-- 
1.5.2.5


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu: add definition for kvm_qemu_check_extension to qemu-kvm.h
  2007-11-21  7:44 [PATCH] qemu: add definition for kvm_qemu_check_extension to qemu-kvm.h Carlo Marcelo Arenas Belon
@ 2007-11-22 10:28 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-11-22 10:28 UTC (permalink / raw)
  To: Carlo Marcelo Arenas Belon; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Carlo Marcelo Arenas Belon wrote:
> The following patch complement c79baa60813812e8d0e34d998d609e8 to avoid the
> implicit declaration of kvm_qemu_check_extension as shown by :
>
>   kvm-53/qemu/vl.c: In function `main':
>   kvm-53/qemu/vl.c:8675: warning implicit  declaration of function `kvm_qemu_check_extension'
>   kvm-53/qemu/hw/pc.c:727: warning: implicit declaration of function `kvm_qemu_check_extension'
>
>   

Applied, thanks.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-22 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21  7:44 [PATCH] qemu: add definition for kvm_qemu_check_extension to qemu-kvm.h Carlo Marcelo Arenas Belon
2007-11-22 10:28 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox