[Vm-dev] 64bit FFI?
eliot.miranda at gmail.com
Thu Feb 12 18:29:51 UTC 2009
On Thu, Feb 12, 2009 at 10:20 AM, Bert Freudenberg <bert at freudenbergs.de>wrote:
> On 12.02.2009, at 19:00, Eliot Miranda wrote:
>> I see that Bert, but Andreas is asking something different. He is asking
>>>> if the existing 32-bit system can be run on a 64-bit platform, not that one
>>>> can run a 64-bit VM on a 64-bit platform. In Qwaq we have 32-bit server
>>>> images and Andreas is interested in using these images largely unchanged to
>>>> run as 64-bit processes.
>>>> ... which is what the 64 bit VM does, as Andreas is well-aware. One of
>>> the remaining problems is 64 bit FFI, and a few more plugins. Fortunately
>>> David has been working on those for quite some time.
>> IIUC the 64-bit VM does _not_ run 32-bit images.
> It does.
> So I don't understand how the 64-bit VM is releant. Can yu lead me by
>> the nose a little further?
> Sure. *Please* read the FAQ:
Um, I have (studied my Agrippa), and I quote:
Does my 64-bit VM run both 32-bit and 64-bit images?No. Any VM will run
either 32-bit or 64-bit images, but not both. You can select one or the
other when you generate sources with VMMaker, and you can install both
flavors of VM on your system (one each for 32-bit images and 64-bit images).
If you try to run a 64-bit image with a VM built for 32-bit images, you will
get an error message such as this:
This interpreter (vers. 6502) cannot read image file (vers. 68000).
If you try to run a 32-bit image using a VM built for 64-bit images, you
will get an error message such as this:
This interpreter (vers. 68000) cannot read image file (vers. 6502).
So no, one cannot run a 32-bit image in a 64-bit VM (as I had thought) and
the FAQ is quite specific about it. One has to convert a 32-bit image to a
64-bit image to run it on the 64-bit machine (as detailed ijn the FAQ) and
that is not what Andreas is interested in doing.
Apologies for being so persistent :)
> - Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev