UPDATE: QEMU 0.14.0
Here is an update to QEMU 0.14.0. Index: Makefile === RCS file: /home/cvs/ports/emulators/qemu/Makefile,v retrieving revision 1.61 diff -u -p -r1.61 Makefile --- Makefile26 Jan 2011 13:51:43 - 1.61 +++ Makefile18 Feb 2011 02:16:07 - @@ -5,8 +5,7 @@ ONLY_FOR_ARCHS =i386 amd64 sparc64 COMMENT = multi system emulator -DISTNAME = qemu-0.13.0 -REVISION = 1 +DISTNAME = qemu-0.14.0 CATEGORIES = emulators HOMEPAGE = http://www.qemu.org/ @@ -35,6 +34,8 @@ CONFIGURE_STYLE = simple CONFIGURE_ARGS = --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --mandir=${PREFIX}/man \ + --cc="${CC}" \ + --host-cc="${CC}" \ --extra-cflags="-I${LOCALBASE}/include \ -I${LOCALBASE}/include/libpng" \ --extra-ldflags=-L${LOCALBASE}/lib \ Index: distinfo === RCS file: /home/cvs/ports/emulators/qemu/distinfo,v retrieving revision 1.13 diff -u -p -r1.13 distinfo --- distinfo22 Nov 2010 11:32:01 - 1.13 +++ distinfo18 Feb 2011 02:16:38 - @@ -1,5 +1,5 @@ -MD5 (qemu-0.13.0.tar.gz) = OXoNZl2oup07lYNinz1kIQ== -RMD160 (qemu-0.13.0.tar.gz) = Sm+q841WFvt77cGmQI3h27PsNgw= -SHA1 (qemu-0.13.0.tar.gz) = JQu6H9tQWnh8SDMbawL1QoLt/HY= -SHA256 (qemu-0.13.0.tar.gz) = Hm9YUbBc6m43fINfRmhAjUEkz7hF+ZSNkigIdDxf2Hc= -SIZE (qemu-0.13.0.tar.gz) = 5184531 +MD5 (qemu-0.14.0.tar.gz) = +dFF1cCd6fCYT/6b0SKZcA== +RMD160 (qemu-0.14.0.tar.gz) = FAkmQ4fkz+RRQ+EN13sldJNeLXg= +SHA1 (qemu-0.14.0.tar.gz) = z42RZDbUuHdSiTmWSOHwyp2GfRg= +SHA256 (qemu-0.14.0.tar.gz) = uiHoTXhTIXgw4Wfa6Zmc2/9IEYnGoLtgCsf7cgFFMQg= +SIZE (qemu-0.14.0.tar.gz) = 5439695 Index: patches/patch-configure === RCS file: /home/cvs/ports/emulators/qemu/patches/patch-configure,v retrieving revision 1.15 diff -u -p -r1.15 patch-configure --- patches/patch-configure 22 Nov 2010 11:32:01 - 1.15 +++ patches/patch-configure 16 Feb 2011 01:46:15 - @@ -1,41 +1,30 @@ $OpenBSD: patch-configure,v 1.15 2010/11/22 11:32:01 fgsch Exp $ configure.orig Fri Oct 15 21:56:09 2010 -+++ configure Thu Nov 18 21:05:53 2010 -@@ -69,12 +69,12 @@ interp_prefix="/usr/gnemul/qemu-%M" - static="no" - sparc_cpu="" - cross_prefix="" --cc="gcc" -+cc="${CC:-cc}" - audio_drv_list="" - audio_card_list="ac97 es1370 sb16" - audio_possible_cards="ac97 es1370 sb16 cs4231a adlib gus" - block_drv_whitelist="" --host_cc="gcc" -+host_cc="${CC:-cc}" - ar="ar" - make="make" - install="install" -@@ -128,15 +128,15 @@ ld="${cross_prefix}${ld}" +--- configure.orig Mon Feb 14 17:02:07 2011 configure Tue Feb 15 20:46:07 2011 +@@ -223,9 +223,8 @@ sdl_config="${cross_prefix}${SDL_CONFIG-sdl-config}" # default flags for all hosts QEMU_CFLAGS="-fno-strict-aliasing $QEMU_CFLAGS" -CFLAGS="-g $CFLAGS" -+CFLAGS="$CFLAGS" QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS" -QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" +QEMU_CFLAGS="-Wstrict-prototypes $QEMU_CFLAGS" QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" - QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" - LDFLAGS="-g $LDFLAGS" + QEMU_INCLUDES="-I. -I\$(SRC_PATH)" +@@ -931,10 +930,9 @@ else + exit 1 + fi --gcc_flags="-Wold-style-declaration -Wold-style-definition -fstack-protector-all" -+gcc_flags="-Wold-style-definition" +-gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits" ++gcc_flags="-Wold-style-definition -Wtype-limits" + gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags" + gcc_flags="-Wmissing-include-dirs -Wempty-body -Wnested-externs $gcc_flags" +-gcc_flags="-fstack-protector-all $gcc_flags" cat > $TMPC << EOF int main(void) { return 0; } EOF -@@ -1300,7 +1300,7 @@ int main(void) { +@@ -1345,7 +1343,7 @@ int main(void) { } EOF vnc_png_cflags="" @@ -44,7 +33,7 @@ $OpenBSD: patch-configure,v 1.15 2010/11 if compile_prog "$vnc_png_cflags" "$vnc_png_libs" ; then vnc_png=yes libs_softmmu="$vnc_png_libs $libs_softmmu" -@@ -1677,7 +1677,7 @@ fi +@@ -1760,7 +1758,7 @@ fi ## # pthread probe @@ -53,18 +42,18 @@ $OpenBSD: patch-configure,v 1.15 2010/11 pthread=no cat > $TMPC << EOF -@@ -2061,7 +2061,9 @@ fi +@@ -2329,8 +2327,8 @@ fi + # End of CC checks # After here, no more $cc or $ld runs - if test "$debug" = "no" ; then +-if test "$debug" = "no" ; then - CFLAGS="-O2 $CFLAGS" -+ CFLAGS="$CFLAGS" -+else ++if test "$debug" = "yes" ; then + CFLAGS="-O
Re: UPDATE: QEMU 0.14.0
On Sun, Feb 20, 2011 at 04:42:27PM -0500, Brad wrote: > Here is an update to QEMU 0.14.0. This is working fine here (on amd64).
Re: UPDATE: QEMU 0.14.0
On Sun, Feb 20, 2011 at 15:42, Brad wrote: > Here is an update to QEMU 0.14.0. > > Was able to install Windows 7 ultimate as a VM, but when I attempted to install OpenBSD/amd64 4.9 using the install49.iso, I get to the boot prompt, it starts booting cd0a:/4.9/amd64bsd.rd, it does the chaing of numbers, and for a microsec see "Entry point..." and then it powercycles and starts again, trying to boot from cd0a and fails ad nauseum. Also, I noticed the qemu version still shows '0.13.0' when you ask qemu from the commandline. The i386 install49.iso does not seem to have an issue. Installs correctly with no issues... I haven't tried with other OSes. Win7 is slow, but usable if you absolutely have to (used 512M of memory to install it, took 3 hours, and overnight for all d/l and install of all updates). Number of processors/RAM made little difference Regards, Bryan
Re: UPDATE: QEMU 0.14.0
On Mon, Feb 28, 2011 at 15:16, Bryan wrote: > On Sun, Feb 20, 2011 at 15:42, Brad wrote: >> Here is an update to QEMU 0.14.0. >> >> > > > Was able to install Windows 7 ultimate as a VM, but when I attempted > to install OpenBSD/amd64 4.9 using the install49.iso, I get to the > boot prompt, it starts booting cd0a:/4.9/amd64bsd.rd, it does the > chaing of numbers, and for a microsec see "Entry point..." and then it > powercycles and starts again, trying to boot from cd0a and fails ad > nauseum. > Awww... son of a... nevermind... there is an 'x86_64' qemu now too... that works... > Also, I noticed the qemu version still shows '0.13.0' when you ask > qemu from the commandline. > > The i386 install49.iso does not seem to have an issue. Installs > correctly with no issues... > > I haven't tried with other OSes. Win7 is slow, but usable if you > absolutely have to (used 512M of memory to install it, took 3 hours, > and overnight for all d/l and install of all updates). Number of > processors/RAM made little difference > > > Regards, > Bryan >
Re: UPDATE: QEMU 0.14.0
On 2011/02/28 15:16, Bryan wrote: > Was able to install Windows 7 ultimate as a VM, but when I attempted > to install OpenBSD/amd64 4.9 using the install49.iso, I get to the > boot prompt, it starts booting cd0a:/4.9/amd64bsd.rd, it does the > chaing of numbers, and for a microsec see "Entry point..." and then it > powercycles and starts again, trying to boot from cd0a and fails ad > nauseum. looks like you're using the qemu binary; you need qemu-system-x86_64.
Re: UPDATE: QEMU 0.14.0
On Mon, Feb 28, 2011 at 16:35, Stuart Henderson wrote: > On 2011/02/28 15:16, Bryan wrote: >> Was able to install Windows 7 ultimate as a VM, but when I attempted >> to install OpenBSD/amd64 4.9 using the install49.iso, I get to the >> boot prompt, it starts booting cd0a:/4.9/amd64bsd.rd, it does the >> chaing of numbers, and for a microsec see "Entry point..." and then it >> powercycles and starts again, trying to boot from cd0a and fails ad >> nauseum. > > looks like you're using the qemu binary; you need qemu-system-x86_64. > > yea, it's not my year... :( I never used the amd64 build as a VM...
Re: UPDATE: QEMU 0.14.0
> Awww... son of a... nevermind... there is an 'x86_64' qemu now too... your mom?
Re: UPDATE: QEMU 0.14.0
On Mon, Feb 28, 2011 at 19:47, Marco Peereboom wrote: >> Awww... son of a... nevermind... there is an 'x86_64' qemu now too... > > your mom? > pretty much... :) I had an old copy of the 'README' (probably from the 0.9.x port).
Re: UPDATE: QEMU 0.14.0
On 20/02/11 4:42 PM, Brad wrote: Here is an update to QEMU 0.14.0. Now that the tree is unlocked it would be nice to get this in. Index: Makefile === RCS file: /home/cvs/ports/emulators/qemu/Makefile,v retrieving revision 1.61 diff -u -p -r1.61 Makefile --- Makefile26 Jan 2011 13:51:43 - 1.61 +++ Makefile18 Feb 2011 02:16:07 - @@ -5,8 +5,7 @@ ONLY_FOR_ARCHS =i386 amd64 sparc64 COMMENT = multi system emulator -DISTNAME = qemu-0.13.0 -REVISION = 1 +DISTNAME = qemu-0.14.0 CATEGORIES = emulators HOMEPAGE =http://www.qemu.org/ @@ -35,6 +34,8 @@ CONFIGURE_STYLE = simple CONFIGURE_ARGS = --prefix=${PREFIX} \ --sysconfdir=${SYSCONFDIR} \ --mandir=${PREFIX}/man \ + --cc="${CC}" \ + --host-cc="${CC}" \ --extra-cflags="-I${LOCALBASE}/include \ -I${LOCALBASE}/include/libpng" \ --extra-ldflags=-L${LOCALBASE}/lib \ Index: distinfo === RCS file: /home/cvs/ports/emulators/qemu/distinfo,v retrieving revision 1.13 diff -u -p -r1.13 distinfo --- distinfo22 Nov 2010 11:32:01 - 1.13 +++ distinfo18 Feb 2011 02:16:38 - @@ -1,5 +1,5 @@ -MD5 (qemu-0.13.0.tar.gz) = OXoNZl2oup07lYNinz1kIQ== -RMD160 (qemu-0.13.0.tar.gz) = Sm+q841WFvt77cGmQI3h27PsNgw= -SHA1 (qemu-0.13.0.tar.gz) = JQu6H9tQWnh8SDMbawL1QoLt/HY= -SHA256 (qemu-0.13.0.tar.gz) = Hm9YUbBc6m43fINfRmhAjUEkz7hF+ZSNkigIdDxf2Hc= -SIZE (qemu-0.13.0.tar.gz) = 5184531 +MD5 (qemu-0.14.0.tar.gz) = +dFF1cCd6fCYT/6b0SKZcA== +RMD160 (qemu-0.14.0.tar.gz) = FAkmQ4fkz+RRQ+EN13sldJNeLXg= +SHA1 (qemu-0.14.0.tar.gz) = z42RZDbUuHdSiTmWSOHwyp2GfRg= +SHA256 (qemu-0.14.0.tar.gz) = uiHoTXhTIXgw4Wfa6Zmc2/9IEYnGoLtgCsf7cgFFMQg= +SIZE (qemu-0.14.0.tar.gz) = 5439695 Index: patches/patch-configure === RCS file: /home/cvs/ports/emulators/qemu/patches/patch-configure,v retrieving revision 1.15 diff -u -p -r1.15 patch-configure --- patches/patch-configure 22 Nov 2010 11:32:01 - 1.15 +++ patches/patch-configure 16 Feb 2011 01:46:15 - @@ -1,41 +1,30 @@ $OpenBSD: patch-configure,v 1.15 2010/11/22 11:32:01 fgsch Exp $ configure.orig Fri Oct 15 21:56:09 2010 -+++ configure Thu Nov 18 21:05:53 2010 -@@ -69,12 +69,12 @@ interp_prefix="/usr/gnemul/qemu-%M" - static="no" - sparc_cpu="" - cross_prefix="" --cc="gcc" -+cc="${CC:-cc}" - audio_drv_list="" - audio_card_list="ac97 es1370 sb16" - audio_possible_cards="ac97 es1370 sb16 cs4231a adlib gus" - block_drv_whitelist="" --host_cc="gcc" -+host_cc="${CC:-cc}" - ar="ar" - make="make" - install="install" -@@ -128,15 +128,15 @@ ld="${cross_prefix}${ld}" +--- configure.orig Mon Feb 14 17:02:07 2011 configure Tue Feb 15 20:46:07 2011 +@@ -223,9 +223,8 @@ sdl_config="${cross_prefix}${SDL_CONFIG-sdl-config}" # default flags for all hosts QEMU_CFLAGS="-fno-strict-aliasing $QEMU_CFLAGS" -CFLAGS="-g $CFLAGS" -+CFLAGS="$CFLAGS" QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS" -QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" +QEMU_CFLAGS="-Wstrict-prototypes $QEMU_CFLAGS" QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" - QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" - LDFLAGS="-g $LDFLAGS" + QEMU_INCLUDES="-I. -I\$(SRC_PATH)" +@@ -931,10 +930,9 @@ else + exit 1 + fi --gcc_flags="-Wold-style-declaration -Wold-style-definition -fstack-protector-all" -+gcc_flags="-Wold-style-definition" +-gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits" ++gcc_flags="-Wold-style-definition -Wtype-limits" + gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags" + gcc_flags="-Wmissing-include-dirs -Wempty-body -Wnested-externs $gcc_flags" +-gcc_flags="-fstack-protector-all $gcc_flags" cat> $TMPC<< EOF int main(void) { return 0; } EOF -@@ -1300,7 +1300,7 @@ int main(void) { +@@ -1345,7 +1343,7 @@ int main(void) { } EOF vnc_png_cflags="" @@ -44,7 +33,7 @@ $OpenBSD: patch-configure,v 1.15 2010/11 if compile_prog "$vnc_png_cflags" "$vnc_png_libs" ; then vnc_png=yes libs_softmmu="$vnc_png_libs $libs_softmmu" -@@ -1677,7 +1677,7 @@ fi +@@ -1760,7 +1758,7 @@ fi ## # pthread probe @@ -53,18 +42,18 @@ $OpenBSD: patch-configure,v 1.15 2010/11 pthread=no cat> $TMPC<< EOF -@@ -2061,7 +2061,9 @@ fi +@@ -2329,8 +2327,8 @@ fi + # End of CC checks # After here, no more $cc or $ld runs - if test "$debug" = "no" ; then +-if test "$debug" = "no