From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 18 00:37:52 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 048B716A41F for ; Wed, 18 Jan 2006 00:37:52 +0000 (GMT) (envelope-from chat95@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D94E43D49 for ; Wed, 18 Jan 2006 00:37:51 +0000 (GMT) (envelope-from chat95@mac.com) Received: from mac.com (smtpin04-en2 [10.13.10.149]) by smtpout.mac.com (Xserve/8.12.11/smtpout10/MantshX 4.0) with ESMTP id k0I0bovW019973; Tue, 17 Jan 2006 16:37:50 -0800 (PST) Received: from localhost ([133.11.172.102]) (authenticated bits=0) by mac.com (Xserve/smtpin04/MantshX 4.0) with ESMTP id k0I0bkXF027853; Tue, 17 Jan 2006 16:37:50 -0800 (PST) Date: Wed, 18 Jan 2006 09:37:40 +0900 (JST) Message-Id: <20060118.093740.41689767.chat95@mac.com> To: nox@jelal.kn-bremen.de From: NAKATA Maho Organization: private X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: qemu hack X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2006 00:37:52 -0000 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