On 22/07/2013 06:56, Walter Dnes wrote:
I'm usually pretty good a Google, but I've run into a brick wall with
qemu's QEMU_SOFTMMU_TARGETS and QEMU_USER_TARGETS settings. I find that
wine on a 64-bit-only machine does not support 32-bit Windows programs.
Years ago, I was able to build a 32-bit qemu Gentoo guest, and run wine
32-bit mode on that. I need to try it again, but I have no clue what
QEMU_SOFTMMU_TARGETS and QEMU_USER_TARGETS settings to use. I repeat,
I'm on a 64-bit Intel machine, and I want to emulate Intel 32-bit. Do
these variables refer to the guest architecture or the host
architecture?
In plain English, given "host" and "guest" architectures which of the
following combinations do I use...
QEMU_SOFTMMU_TARGETS=host QEMU_USER_TARGETS=host
QEMU_SOFTMMU_TARGETS=host QEMU_USER_TARGETS=guest
QEMU_SOFTMMU_TARGETS=guest QEMU_USER_TARGETS=host
QEMU_SOFTMMU_TARGETS=guest QEMU_USER_TARGETS=guest
In your case, all that is required is QEMU_SOFTMMU_TARGETS="i386". Tip:
use the "-cpu host" parameter to expose the full capability of the host
CPU to the guest machine.
--Kerin