[SM-Commit] GIT changes to master grimoire by Eric Sandall (aff4f11fdf112e0a08ca96001cbf71e0a4ca7201)

Thomas Orgis thomas-forum at orgis.org
Sat Feb 17 08:45:43 EST 2007


I now just installed all of qemu with the hacky BUILD:

message "removing sse flags" &&
list_remove CFLAGS -msse -msse2 -msse3 &&
if [[ "$CFLAGS" =~ '-march=pentium[234-]\S*' ]]; then
  message reducing your march setting to pentium-mmx
  list_remove CFLAGS $BASH_REMATCH &&
  CFLAGS="$CFLAGS -march=pentium-mmx"
fi &&
message "flags now: $CFLAGS" &&
message "Target list:$QEMU_ARCHS"  &&

./configure --build=$BUILD             \
           --prefix=$INSTALL_ROOT/usr  \
       --sysconfdir=$INSTALL_ROOT/etc  \
    --localstatedir=$INSTALL_ROOT/var  \
      --enable-system --enable-user    \
                    $OPTS              &&

make


It really built and I tested a Win2k and a Suse9.3 guest system. Works.
Of course this is not nice and does not work for everyone, but just unconditionally disabling all real virtualization targets is not nice, too.
What about still allowing all targets for choosing but in case a softmmu target was chosen, put out a warning about a possible need to have changed CFLAGS?
Also, where did dkowis succeed with qemu? Was this on amd64? So this could be safe from this special register starvation...




More information about the SM-Commit mailing list