Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 09:37:40 +0900 (JST)
From:      NAKATA Maho <chat95@mac.com>
To:        nox@jelal.kn-bremen.de
Cc:        freebsd-emulation@freebsd.org
Subject:   qemu hack
Message-ID:  <20060118.093740.41689767.chat95@mac.com>

next in thread | raw e-mail | index | archive | help
Dear Juergen and list,
I add a hack for qemu port; speed up hack of cirrus vga.
http://lists.gnu.org/archive/html/qemu-devel/2006-01/msg00208.html
and now qemu seems to be faster a bit.
(hope someone can do benchmark)

Juergen, can I commit to port?

Thanks a lot,
-- NAKATA, Maho (maho@FreeBSD.org)

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile	5 Jan 2006 22:21:13 -0000	1.43
+++ Makefile	18 Jan 2006 00:32:57 -0000
@@ -13,10 +13,11 @@
 		http://people.fruitsalad.org/nox/qemu/:snapshot \
 		http://www.volny.cz/xnavara/qemu/:snapshot \
 		http://qemu.dad-answers.com/download/qemu/:snapshot \
-		http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma
+		http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \
+		http://people.freebsd.org/~maho/qemu/:misc
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:release
 .if defined (WITH_HACKS)
-DISTFILES+=	qemu_dma_patch.tar.gz:idedma
+DISTFILES+=	qemu_dma_patch.tar.gz:idedma patch3_cirrus:misc
 .endif
 DIST_SUBDIR=	qemu
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
@@ -64,6 +65,9 @@
 	@${ECHO_MSG} "You can build qemu with some hacks (esp. for speedup)"
 	@${ECHO_MSG} "by defining WITH_HACKS."
 	@${ECHO_MSG} "1. IDE Bus-master DMA Support by John Coiner"
+	@${ECHO_MSG} "http://people.brandeis.edu/~jcoiner/qemu_idedma/qemu_dma_patch.html"
+	@${ECHO_MSG} "2. higher speed on large display (cirrus_vga) by Juergen Pfennig"
+	@${ECHO_MSG} "http://lists.gnu.org/archive/html/qemu-devel/2006-01/msg00208.html"
 .endif
 .if !defined(WITH_SAMBA) && !exists(${LOCALBASE}/sbin/smbd)
 	@${ECHO_MSG} "Notice: if you need qemu's -smb option (smb-export local dir to guest)"
@@ -84,6 +88,7 @@
 post-patch:
 .if defined(WITH_HACKS)
 	@cd ${WRKDIR} ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/qemu_dma_patch.tar.gz ; ${CP} new_qemu_dma_patch/bios.bin ${WRKSRC}/pc-bios; cd ${WRKSRC}; ${PATCH} --quiet -p1 < ../new_qemu_dma_patch/qemu-piix4-udma.patch
+	cd ${WRKSRC} ; ${PATCH} < ${DISTDIR}/${DIST_SUBDIR}/patch3_cirrus
 .endif
 
 post-install:
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.26
diff -u -r1.26 distinfo
--- distinfo	31 Dec 2005 00:12:20 -0000	1.26
+++ distinfo	18 Jan 2006 00:32:57 -0000
@@ -4,3 +4,6 @@
 MD5 (qemu/qemu_dma_patch.tar.gz) = 5e339dc201d411af56bad684d3f89338
 SHA256 (qemu/qemu_dma_patch.tar.gz) = cdf74bf5e079d835e100f116d940686b13ec2b7ed6aee5a6a97a4441ea5f2b8f
 SIZE (qemu/qemu_dma_patch.tar.gz) = 25837
+MD5 (qemu/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810
+SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11
+SIZE (qemu/patch3_cirrus) = 8817
cvs diff: Diffing files



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060118.093740.41689767.chat95>