Skip to contentSkip to conversation

[7101] Skip KVM probe for OpenSolaris

Qemu-devel Blue Swirl 2 participants 4 messages Apr 13, 2009 – Apr 17, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 7101

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7101
Author:   blueswir1
Date:     2009-04-13 16:23:22 +0000 (Mon, 13 Apr 2009)

Log Message:
-----------
Skip KVM probe for OpenSolaris

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +1 -0
@@ -278,6 +278,7 @@
     make="gmake"
     install="ginstall"
     needs_libsunmath="no"
+    kvm="no"
     solarisrev=`uname -r | cut -f2 -d.`
     # have to select again, because `uname -m` returns i86pc
     # even on an x86_64 box.
#1 lore raw
Quoted 8 lines · Blue Swirl

Revision: 7101

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7101
Author:   blueswir1
Date:     2009-04-13 16:23:22 +0000 (Mon, 13 Apr 2009)

Log Message:
-----------
Skip KVM probe for OpenSolaris

The detection of "Solaris" depends on uname output. This breaks if you're cross compiling.

Concretely, if you attempted to cross compile QEMU for Linux in a Solaris environment, this patch would break KVM support.

Was this a reason to disable this problem other than it being "unnecessary"?

Regards,

Anthony Liguori

author
#2 lore raw
Quoted 13 lines · Anthony Liguori
Quoted 2 lines · Blue Swirl

Revision: 7101

http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7101

Quoted 7 lines
Author:   blueswir1
Date:     2009-04-13 16:23:22 +0000 (Mon, 13 Apr 2009)

Log Message:
-----------
Skip KVM probe for OpenSolaris

Quoted 2 lines

The detection of "Solaris" depends on uname output. This breaks if you're
cross compiling.

Maybe I should add the compile time check for OpenSolaris and OpenBSD.

Quoted 5 lines

Concretely, if you attempted to cross compile QEMU for Linux in a Solaris
environment, this patch would break KVM support.

Was this a reason to disable this problem other than it being
"unnecessary"?

Yes, but also native awk doesn't support -F switch with a regexp instead of single character and I must confess that I don't know enough awk to fix it other way.

#3 lore raw
Quoted 11 lines · Blue Swirl
Quoted 6 lines

Concretely, if you attempted to cross compile QEMU for Linux in a Solaris
environment, this patch would break KVM support.

Was this a reason to disable this problem other than it being
"unnecessary"?

Yes, but also native awk doesn't support -F switch with a regexp instead of single character and I must confess that I don't know enough awk to fix it other way.

Christian: could you rework the awk expression to not require -F?

Regards,

Anthony LIguori