qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] KQEMU API change
@ 2008-05-30 21:03 Fabrice Bellard
  2008-06-02  4:58 ` Rick Vernam
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Bellard @ 2008-05-30 21:03 UTC (permalink / raw)
  To: qemu-devel

Hi,

I just committed a few changes in the KQEMU API. People wishing to use
kqemu with the current QEMU version from the repository should download
the new KQEMU release (version 1.4.0pre1).

Fabrice.

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

* Re: [Qemu-devel] KQEMU API change
  2008-05-30 21:03 [Qemu-devel] KQEMU API change Fabrice Bellard
@ 2008-06-02  4:58 ` Rick Vernam
  2008-06-02 15:06   ` Rick Vernam
  0 siblings, 1 reply; 3+ messages in thread
From: Rick Vernam @ 2008-06-02  4:58 UTC (permalink / raw)
  To: qemu-devel

On Friday 30 May 2008 04:03:14 pm Fabrice Bellard wrote:
> Hi,
>
> I just committed a few changes in the KQEMU API. People wishing to use
> kqemu with the current QEMU version from the repository should download
> the new KQEMU release (version 1.4.0pre1).
>
> Fabrice.

Thanks for the great tools.

I've encountered a compile failure with KQEMU 1.4.0pre1.
I did not see anything in the kqemu-doc.html file which spoke to 
requirements ... nor on the website.  forgive me if I've overlooked 
something.
Building against an unmodified 2.6.25.4, headers are Gentoo's 2.6.25.3

./configure
make
...
make -C /lib/modules/2.6.25.4/build M=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.25.4'
  CC [M]  /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.o
/home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c: In 
function 'kqemu_lock_user_page':
/home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:81: error: dereferencing pointer 
to incomplete type
/home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c: In function 'kqemu_schedule':
/home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:194: error: implicit declaration 
of function 'need_resched'
/home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:195: error: implicit declaration 
of function 'schedule'
/home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:197: error: implicit declaration 
of function 'signal_pending'

uname -a
Linux 2.6.25.4 #1 Sun Jun 1 23:06:19 CDT 2008 x86_64 AMD Athlon(tm) 64 
Processor 3700+ AuthenticAMD GNU/Linux

gcc --version
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1)

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

* Re: [Qemu-devel] KQEMU API change
  2008-06-02  4:58 ` Rick Vernam
@ 2008-06-02 15:06   ` Rick Vernam
  0 siblings, 0 replies; 3+ messages in thread
From: Rick Vernam @ 2008-06-02 15:06 UTC (permalink / raw)
  To: qemu-devel


> Building against an unmodified 2.6.25.4, headers are Gentoo's 2.6.25.3
>
> ./configure
> make
> ...
> make -C /lib/modules/2.6.25.4/build M=`pwd` modules
> make[1]: Entering directory `/usr/src/linux-2.6.25.4'
>   CC [M]  /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.o
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c: In
> function 'kqemu_lock_user_page':
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:81: error: dereferencing
> pointer to incomplete type
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c: In function
> 'kqemu_schedule': /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:194: error:
> implicit declaration of function 'need_resched'
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:195: error: implicit
> declaration of function 'schedule'
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:197: error: implicit
> declaration of function 'signal_pending'

The addition of the following include in kqemu-linux.c allows for successful 
compilation:

#include <linux/sched.h>

Thanks again!

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

end of thread, other threads:[~2008-06-02 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 21:03 [Qemu-devel] KQEMU API change Fabrice Bellard
2008-06-02  4:58 ` Rick Vernam
2008-06-02 15:06   ` Rick Vernam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).