qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64 bit
@ 2008-02-19 16:09 Ralf Baerwaldt
  2008-02-19 20:53 ` Johannes Schindelin
  2008-02-20 16:23 ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Sergey Bychkov
  0 siblings, 2 replies; 9+ messages in thread
From: Ralf Baerwaldt @ 2008-02-19 16:09 UTC (permalink / raw)
  To: qemu-devel

Hi !

I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
and I'm using an AMD Opteron.

Is this version the correct one for my system ?

# file /usr/local/bin/qemu-system-x86_64
/usr/local/bin/qemu-system-x86_64: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses
shared libs), stripped

but I expected someting like:

# file /usr/bin/qemu-system-x86_64
/usr/bin/qemu-system-x86_64: ELF 64-bit LSB executable, x86-64, version
1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs),
stripped

Ralf

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64 bit
  2008-02-19 16:09 [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64 bit Ralf Baerwaldt
@ 2008-02-19 20:53 ` Johannes Schindelin
  2008-02-20 16:23 ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Sergey Bychkov
  1 sibling, 0 replies; 9+ messages in thread
From: Johannes Schindelin @ 2008-02-19 20:53 UTC (permalink / raw)
  To: qemu-devel

Hi,

On Tue, 19 Feb 2008, Ralf Baerwaldt wrote:

> I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
> and I'm using an AMD Opteron.
> 
> Is this version the correct one for my system ?
> 
> # file /usr/local/bin/qemu-system-x86_64
> /usr/local/bin/qemu-system-x86_64: ELF 32-bit LSB executable, Intel
> 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses
> shared libs), stripped

Yes, this is the emulator _emulating_ x86_64.

Ciao,
Dscho

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit
  2008-02-19 16:09 [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64 bit Ralf Baerwaldt
  2008-02-19 20:53 ` Johannes Schindelin
@ 2008-02-20 16:23 ` Sergey Bychkov
  2008-02-21  8:14   ` Andrew Warkentin
  1 sibling, 1 reply; 9+ messages in thread
From: Sergey Bychkov @ 2008-02-20 16:23 UTC (permalink / raw)
  To: qemu-devel

----- Original Message ----- 
From: "Ralf Baerwaldt" <info@BBCONS.de>
To: <qemu-devel@nongnu.org>
Sent: 19.02.2008 18:09
Subject: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 
64bit


> I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
> and I'm using an AMD Opteron.
>
> Is this version the correct one for my system ?

If You want qemu for your amd64 linux system, You should compile it yourself 
or install from Your linux distribution repository.
This site (http://fabrice.bellard.free.fr/qemu/download.html) doesn't 
contain precompiled linux binaries except for i386 platform.
However You could execute i386 binaries on amd64 linux platform. :)

Sergey Bychkow
ICQ: 21014758
FTN: 2:450/118.55 

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit
  2008-02-20 16:23 ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Sergey Bychkov
@ 2008-02-21  8:14   ` Andrew Warkentin
  2008-02-21  8:17     ` Andrew Warkentin
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andrew Warkentin @ 2008-02-21  8:14 UTC (permalink / raw)
  To: qemu-devel

Sergey Bychkov wrote:

> ----- Original Message ----- From: "Ralf Baerwaldt" <info@BBCONS.de>
> To: <qemu-devel@nongnu.org>
> Sent: 19.02.2008 18:09
> Subject: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead 
> of 64bit
>
>
>> I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
>> and I'm using an AMD Opteron.
>>
>> Is this version the correct one for my system ?
>
>
> If You want qemu for your amd64 linux system, You should compile it 
> yourself or install from Your linux distribution repository.
> This site (http://fabrice.bellard.free.fr/qemu/download.html) doesn't 
> contain precompiled linux binaries except for i386 platform.
> However You could execute i386 binaries on amd64 linux platform. :)
>
> Sergey Bychkow
> ICQ: 21014758
> FTN: 2:450/118.55
>
>
>
Why does it matter if it is 64-bit or not? Most programs at the moment 
don't benefit from being compiled 64-bit. I don't get the obsession with 
64-bitness that most Linux and BSD people seem to have. I think 
workstation Unices like Solaris and IRIX get things right (only stuff 
that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there 
is no need for separate 32- and 64-bit versions of the system, and fewer 
compatibility issues).

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit
  2008-02-21  8:14   ` Andrew Warkentin
@ 2008-02-21  8:17     ` Andrew Warkentin
  2008-02-21 12:09       ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit insteadof 64bit Sergey Bychkov
  2008-02-21  8:43     ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Laurent Desnogues
  2008-02-21 17:03     ` Ben Taylor
  2 siblings, 1 reply; 9+ messages in thread
From: Andrew Warkentin @ 2008-02-21  8:17 UTC (permalink / raw)
  To: qemu-devel

Andrew Warkentin wrote:

> Why does it matter if it is 64-bit or not? Most programs at the moment 
> don't benefit from being compiled 64-bit. I don't get the obsession 
> with 64-bitness that most Linux and BSD people seem to have. I think 
> workstation Unices like Solaris and IRIX get things right (only stuff 
> that benefits from being 64-bit is 64-bit, the rest is 32-bit, so 
> there is no need for separate 32- and 64-bit versions of the system, 
> and fewer compatibility issues).
>
Just to clarify: I'm referring to the QEMU binary itself, not the 
architecture it emulates.

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit
  2008-02-21  8:14   ` Andrew Warkentin
  2008-02-21  8:17     ` Andrew Warkentin
@ 2008-02-21  8:43     ` Laurent Desnogues
  2008-02-21  9:07       ` Andrew Warkentin
  2008-02-21 17:03     ` Ben Taylor
  2 siblings, 1 reply; 9+ messages in thread
From: Laurent Desnogues @ 2008-02-21  8:43 UTC (permalink / raw)
  To: qemu-devel

On 2/21/08, Andrew Warkentin <andreww@datanet.ab.ca> wrote:
>  Why does it matter if it is 64-bit or not? Most programs at the moment
>  don't benefit from being compiled 64-bit. I don't get the obsession with
>  64-bitness that most Linux and BSD people seem to have.

I have programs that run significantly faster when targetting x86_64
(Othello back-end solver, various prime sieves, interpreted simulator,
MAME [cf. http://aarongiles.com/pix/benchmarks.png])., where
significantly means >10%.  I agree I can't qualify my list as "most
programs", but on the other hand I have yet to see one of my
programs running slower as x86_64 bit mode (though I guess some
programs with heavy usage of pointers could be in trouble).

Did anyone compare qemu ia32 vs x86_64?


Laurent

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit
  2008-02-21  8:43     ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Laurent Desnogues
@ 2008-02-21  9:07       ` Andrew Warkentin
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Warkentin @ 2008-02-21  9:07 UTC (permalink / raw)
  To: qemu-devel

Laurent Desnogues wrote:

>On 2/21/08, Andrew Warkentin <andreww@datanet.ab.ca> wrote:
>  
>
>> Why does it matter if it is 64-bit or not? Most programs at the moment
>> don't benefit from being compiled 64-bit. I don't get the obsession with
>> 64-bitness that most Linux and BSD people seem to have.
>>    
>>
>
>I have programs that run significantly faster when targetting x86_64
>(Othello back-end solver, various prime sieves, interpreted simulator,
>MAME [cf. http://aarongiles.com/pix/benchmarks.png])., where
>significantly means >10%.  I agree I can't qualify my list as "most
>programs", but on the other hand I have yet to see one of my
>programs running slower as x86_64 bit mode (though I guess some
>programs with heavy usage of pointers could be in trouble).
>
>Did anyone compare qemu ia32 vs x86_64?
>
>
>Laurent
>
>
>
>  
>
I guess on x86, there is somewhat of a benefit, because of the extra 
registers. On any decent architecture, 32- and 64-bit programs would run 
at the same speed. Still, I don't think that it's worth having separate 
32- and 64-bit versions of operating systems over, even on x86.

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit insteadof 64bit
  2008-02-21  8:17     ` Andrew Warkentin
@ 2008-02-21 12:09       ` Sergey Bychkov
  0 siblings, 0 replies; 9+ messages in thread
From: Sergey Bychkov @ 2008-02-21 12:09 UTC (permalink / raw)
  To: qemu-devel

----- Original Message ----- 
From: "Andrew Warkentin" <andreww@datanet.ab.ca>
To: <qemu-devel@nongnu.org>
Sent: 21.02.2008 10:17
Subject: Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit insteadof 
64bit


>> Why does it matter if it is 64-bit or not? Most programs at the moment 
>> don't benefit from being compiled 64-bit. I don't get the obsession with 
>> 64-bitness that most Linux and BSD people seem to have. I think 
>> workstation Unices like Solaris and IRIX get things right (only stuff 
>> that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there 
>> is no need for separate 32- and 64-bit versions of the system, and fewer 
>> compatibility issues).
>>
> Just to clarify: I'm referring to the QEMU binary itself, not the 
> architecture it emulates.

Symply saying: if You can execute downloaded binary on Your host, then it is 
suitable for You :)

However You should compile kqemu kernel module if You want to use it.

Sergey Bychkow
ICQ: 21014758
FTN: 2:450/118.55 

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

* Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit
  2008-02-21  8:14   ` Andrew Warkentin
  2008-02-21  8:17     ` Andrew Warkentin
  2008-02-21  8:43     ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Laurent Desnogues
@ 2008-02-21 17:03     ` Ben Taylor
  2 siblings, 0 replies; 9+ messages in thread
From: Ben Taylor @ 2008-02-21 17:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andrew Warkentin


---- Andrew Warkentin <andreww@datanet.ab.ca> wrote: 
> Sergey Bychkov wrote:
> 
> > ----- Original Message ----- From: "Ralf Baerwaldt" <info@BBCONS.de>
> > To: <qemu-devel@nongnu.org>
> > Sent: 19.02.2008 18:09
> > Subject: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead 
> > of 64bit
> >
> >
> >> I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
> >> and I'm using an AMD Opteron.
> >>
> >> Is this version the correct one for my system ?
> >
> >
> > If You want qemu for your amd64 linux system, You should compile it 
> > yourself or install from Your linux distribution repository.
> > This site (http://fabrice.bellard.free.fr/qemu/download.html) doesn't 
> > contain precompiled linux binaries except for i386 platform.
> > However You could execute i386 binaries on amd64 linux platform. :)
> >
> > Sergey Bychkow
> > ICQ: 21014758
> > FTN: 2:450/118.55
> >
> >
> >
> Why does it matter if it is 64-bit or not? Most programs at the moment 
> don't benefit from being compiled 64-bit. I don't get the obsession with 
> 64-bitness that most Linux and BSD people seem to have. I think 
> workstation Unices like Solaris and IRIX get things right (only stuff 
> that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there 
> is no need for separate 32- and 64-bit versions of the system, and fewer 
> compatibility issues).

Solaris is moving more towards 64-bit for 64-bit systems.  The X11 tree
(and other subsystems as well) are getting 64-bit versions of binaries
and libraries.

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

end of thread, other threads:[~2008-02-21 17:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19 16:09 [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64 bit Ralf Baerwaldt
2008-02-19 20:53 ` Johannes Schindelin
2008-02-20 16:23 ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Sergey Bychkov
2008-02-21  8:14   ` Andrew Warkentin
2008-02-21  8:17     ` Andrew Warkentin
2008-02-21 12:09       ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit insteadof 64bit Sergey Bychkov
2008-02-21  8:43     ` [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit Laurent Desnogues
2008-02-21  9:07       ` Andrew Warkentin
2008-02-21 17:03     ` Ben Taylor

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