Hi!
I'm sorry for the newbie question but I didn't find the answer neither in forums nor in FAQs or manuals.
Question: can instruction set be choosed during the virtual machine creation process? (I didn't find that option...)
Is there more detailed option than choosing between 32bit or 64bit only? (for example x86, amd64, generic i686 or i386).
That question was born when I tried to launch a program built on Debian Squeeze amd64 notebook on Debian Squeeze installed on the VM.
That program did not launch because of instruction set mismatch (in my opinion).
Error message: cannot execute binary file.
Both systems were installed from the same distribution.
VM runs on the Windows 7 x64 on the machine with Intel i5-780.
Thank you!
Choose instruction set
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Choose instruction set
No, the instruction set cannot be selected. VirtualBox is not a CPU simulator, code runs natively on the host processor. CPU simulators exist (not in VBox) but are orders of magnitude slower in execution speed.
Read the FAQ material in the "Howtos and Tutorials" forum.
Questions about the correct operation of Linux guests should be pursued in the "Linux Guests" forum.
Read the FAQ material in the "Howtos and Tutorials" forum.
Questions about the correct operation of Linux guests should be pursued in the "Linux Guests" forum.
-
windj007
- Posts: 2
- Joined: 19. Sep 2011, 09:52
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Debian Squeeze
Re: Choose instruction set
Thank you!
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Choose instruction set
Almost all examples you give are 32 bit, only difference is the optimisation used for the compilation of the software. E.g. i386 is generic 32 bit, i686 is a bit more optimised. AMD64 speaks for itself: 64 bit. See Wikipedia for more information about all the notations (i386, i586, i686).windj007 wrote:Is there more detailed option than choosing between 32bit or 64bit only? (for example x86, amd64, generic i686 or i386).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Choose instruction set
It's more than just optimization. Over the years both Intel and AMD have introduced various new flavours of instruction set extensions, i.e. MMX, SSE, SSE2, SSE3, SSE4, plus AMDs 3D now! and its subsequent revisions etc. These are new executable instructions, not simply performance tweaks to existing ones. The host PC either supports these features or it doesn't - VirtualBox can't simulate them.