qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7101] Skip KVM probe for OpenSolaris
@ 2009-04-13 16:23 Blue Swirl
  2009-04-13 16:55 ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Blue Swirl @ 2009-04-13 16:23 UTC (permalink / raw)
  To: qemu-devel

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
===================================================================
--- trunk/configure	2009-04-13 16:18:34 UTC (rev 7100)
+++ trunk/configure	2009-04-13 16:23:22 UTC (rev 7101)
@@ -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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [7101] Skip KVM probe for OpenSolaris
  2009-04-13 16:23 [Qemu-devel] [7101] Skip KVM probe for OpenSolaris Blue Swirl
@ 2009-04-13 16:55 ` Anthony Liguori
  2009-04-13 17:12   ` Blue Swirl
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2009-04-13 16:55 UTC (permalink / raw)
  To: qemu-devel

Blue Swirl wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [7101] Skip KVM probe for OpenSolaris
  2009-04-13 16:55 ` Anthony Liguori
@ 2009-04-13 17:12   ` Blue Swirl
  2009-04-17 14:16     ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Blue Swirl @ 2009-04-13 17:12 UTC (permalink / raw)
  To: qemu-devel

On 4/13/09, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Blue Swirl wrote:
>
> > 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.

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

>  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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [7101] Skip KVM probe for OpenSolaris
  2009-04-13 17:12   ` Blue Swirl
@ 2009-04-17 14:16     ` Anthony Liguori
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2009-04-17 14:16 UTC (permalink / raw)
  To: qemu-devel, Christian Ehrhardt

Blue Swirl wrote:
>>  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-17 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 16:23 [Qemu-devel] [7101] Skip KVM probe for OpenSolaris Blue Swirl
2009-04-13 16:55 ` Anthony Liguori
2009-04-13 17:12   ` Blue Swirl
2009-04-17 14:16     ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).