* [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64
@ 2006-04-25 18:35 Ben Dailey
2006-04-25 22:26 ` Fabrice Bellard
0 siblings, 1 reply; 6+ messages in thread
From: Ben Dailey @ 2006-04-25 18:35 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]
Hello,
I have just recently joined the list and thought I would share this
simple patch to get kqemu-1.3.0pre5 to compile against the
2.6.16-1.2096_FC4smp kernel. Configure was run as "./configure
--cc=gcc32 --host-cc=gcc". Before the patch the make output was as
follows:
make -C /lib/modules/2.6.16-1.2096_FC4smp/build M=`pwd` modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2096_FC4-smp-x86_64'
CC [M] /usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.o
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c: In function ‘kqemu_lock_user_page’:
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c:80: error: ‘mem_map’ undeclared (first use in this function)
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c:80: error: (Each undeclared identifier is reported only once
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c:80: error: for each function it appears in.)
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c: In function ‘kqemu_alloc_zeroed_page’:
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c:107: error: ‘mem_map’ undeclared (first use in this function)
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c: In function ‘kqemu_vmalloc_to_phys’:
/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.c:147: error: ‘mem_map’ undeclared (first use in this function)
make[2]: *** [/usr/local/src/cvs/kqemu-1.3.0pre5_pre/kqemu-linux.o] Error 1
make[1]: *** [_module_/usr/local/src/cvs/kqemu-1.3.0pre5_pre] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2096_FC4-smp-x86_64'
make: *** [kqemu.ko] Error 2
--
Thank You,
Ben Dailey
bdailey@bhmsd.k12.in.us
Asst. Technology Director
Bluffton Harrison MSD
www.bhmsd.k12.in.us
[-- Attachment #2: kqemu-linux_042506.patch --]
[-- Type: text/x-patch, Size: 490 bytes --]
--- kqemu-1.3.0pre5_pre/kqemu-linux.c 2006-03-27 15:58:01.000000000 -0500
+++ kqemu-1.3.0pre5/kqemu-linux.c 2006-04-25 12:55:42.000000000 -0400
@@ -23,7 +23,8 @@
#error "Linux 2.4.19 or above needed"
#endif
-#ifndef page_to_pfn
+/* The pfn_to_page() API appeared in 2.5.14 and changed to function during 2.6.x */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) && !defined(pfn_to_page)
#define page_to_pfn(page) ((page) - mem_map)
#define pfn_to_page(pfn) (mem_map + (pfn))
#endif
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64
2006-04-25 18:35 [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64 Ben Dailey
@ 2006-04-25 22:26 ` Fabrice Bellard
2006-04-25 22:33 ` Hetz Ben Hamo
0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Bellard @ 2006-04-25 22:26 UTC (permalink / raw)
To: qemu-devel
Ben Dailey wrote:
> Hello,
>
> I have just recently joined the list and thought I would share this
> simple patch to get kqemu-1.3.0pre5 to compile against the
> 2.6.16-1.2096_FC4smp kernel. Configure was run as "./configure
> --cc=gcc32 --host-cc=gcc". Before the patch the make output was as
> follows:
>[...]
I just made a new kqemu release (version 1.3.0pre6). It includes your
patch and a few other bug fixes.
Fabrice.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64
2006-04-25 22:26 ` Fabrice Bellard
@ 2006-04-25 22:33 ` Hetz Ben Hamo
2006-04-25 22:50 ` Fabrice Bellard
0 siblings, 1 reply; 6+ messages in thread
From: Hetz Ben Hamo @ 2006-04-25 22:33 UTC (permalink / raw)
To: qemu-devel
Fabrice,
Any chance you could tell us whats changed since 1.3.0pre5 please?
Thanks,
Hetz
On 4/26/06, Fabrice Bellard <fabrice@bellard.org> wrote:
> Ben Dailey wrote:
> > Hello,
> >
> > I have just recently joined the list and thought I would share this
> > simple patch to get kqemu-1.3.0pre5 to compile against the
> > 2.6.16-1.2096_FC4smp kernel. Configure was run as "./configure
> > --cc=gcc32 --host-cc=gcc". Before the patch the make output was as
> > follows:
> >[...]
>
> I just made a new kqemu release (version 1.3.0pre6). It includes your
> patch and a few other bug fixes.
>
> Fabrice.
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Visit my blog (hebrew) for things that (sometimes) matter:
http://wp.dad-answers.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64
2006-04-25 22:33 ` Hetz Ben Hamo
@ 2006-04-25 22:50 ` Fabrice Bellard
2006-04-26 1:18 ` Troy Benjegerdes
0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Bellard @ 2006-04-25 22:50 UTC (permalink / raw)
To: qemu-devel
Well, there is a change log in the archive and here it is:
version 1.3.0pre6:
- compile fix for Linux kernel version >= 2.6.16
- better null LDT handling (aka Plan9 and ReactOS bug)
- moved monitor code to another address (aka win2k 256 MB bug)
Fabrice.
Hetz Ben Hamo wrote:
> Fabrice,
>
> Any chance you could tell us whats changed since 1.3.0pre5 please?
>
> Thanks,
> Hetz
>
> On 4/26/06, Fabrice Bellard <fabrice@bellard.org> wrote:
>
>>Ben Dailey wrote:
>>
>>>Hello,
>>>
>>>I have just recently joined the list and thought I would share this
>>>simple patch to get kqemu-1.3.0pre5 to compile against the
>>>2.6.16-1.2096_FC4smp kernel. Configure was run as "./configure
>>>--cc=gcc32 --host-cc=gcc". Before the patch the make output was as
>>>follows:
>>>[...]
>>
>>I just made a new kqemu release (version 1.3.0pre6). It includes your
>>patch and a few other bug fixes.
>>
>>Fabrice.
>>
>>
>>_______________________________________________
>>Qemu-devel mailing list
>>Qemu-devel@nongnu.org
>>http://lists.nongnu.org/mailman/listinfo/qemu-devel
>>
>
>
>
>
> --
> Visit my blog (hebrew) for things that (sometimes) matter:
> http://wp.dad-answers.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64
2006-04-25 22:50 ` Fabrice Bellard
@ 2006-04-26 1:18 ` Troy Benjegerdes
2006-04-26 7:50 ` Brad Campbell
0 siblings, 1 reply; 6+ messages in thread
From: Troy Benjegerdes @ 2006-04-26 1:18 UTC (permalink / raw)
To: qemu-devel
On Wed, Apr 26, 2006 at 12:50:16AM +0200, Fabrice Bellard wrote:
> Well, there is a change log in the archive and here it is:
>
> version 1.3.0pre6:
>
> - compile fix for Linux kernel version >= 2.6.16
> - better null LDT handling (aka Plan9 and ReactOS bug)
> - moved monitor code to another address (aka win2k 256 MB bug)
FYI, the windows 2000 install blows up right away with -kernel-kqemu on
an x86_64 host with qemu-system-x86_64 .
an install with kqemu-user seems to be going okay so far
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64
2006-04-26 1:18 ` Troy Benjegerdes
@ 2006-04-26 7:50 ` Brad Campbell
0 siblings, 0 replies; 6+ messages in thread
From: Brad Campbell @ 2006-04-26 7:50 UTC (permalink / raw)
To: qemu-devel
Troy Benjegerdes wrote:
> On Wed, Apr 26, 2006 at 12:50:16AM +0200, Fabrice Bellard wrote:
>> Well, there is a change log in the archive and here it is:
>>
>> version 1.3.0pre6:
>>
>> - compile fix for Linux kernel version >= 2.6.16
>> - better null LDT handling (aka Plan9 and ReactOS bug)
>> - moved monitor code to another address (aka win2k 256 MB bug)
>
> FYI, the windows 2000 install blows up right away with -kernel-kqemu on
> an x86_64 host with qemu-system-x86_64 .
>
> an install with kqemu-user seems to be going okay so far
This is a known issue.. if you do the 1st part of the install (the blue screen text mode bit) with
usermode kqemu.. then when it does its first reboot, shut down the vm and boot it up with
-kernel-kemu it works fine..
Oh and of course -win2k-hack
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-04-26 7:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-25 18:35 [Qemu-devel] Patch for kqemu-1.3.0pre5 on Fedora Core 4 x86_64 Ben Dailey
2006-04-25 22:26 ` Fabrice Bellard
2006-04-25 22:33 ` Hetz Ben Hamo
2006-04-25 22:50 ` Fabrice Bellard
2006-04-26 1:18 ` Troy Benjegerdes
2006-04-26 7:50 ` Brad Campbell
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).