Gentoo Archives: gentoo-user

From: waltdnes@××××××××.org
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] qemu-kvm setup questions
Date: Thu, 01 Jul 2010 22:06:00
Message-Id: 20100701220519.GA3837@waltdnes.org
1 qemu-kvm apparently expects a couple of options in /etc/make.conf,
2 namely QEMU_SOFTMMU_TARGETS and QEMU_USER_TARGETS. The "documentation"
3 that I could find in Google is underwhelming, to say the least. I could
4 guess from the names alone that they "define targets"...dohhh. It could
5 use an example.
6
7 For instance, my physical machine (i.e. the host) is x86_64, running
8 64-bit Gentoo. I would like to emulate a 32-bit x86 (i386 ?). I will
9 be trying to run 32-bit Gentoo and OS/2 Warp 4. My uneducated guess is
10 QEMU_SOFTMMU_TARGETS="i386"
11 QEMU_USER_TARGETS="x86_64"
12
13 Is this correct? If not, what should I be using?
14
15 Also, are there any gotcha's for file access from the guest to the
16 host? Rather than re-downloading stuff all the time, I'm thinking of
17 giving the guest read-only access to the host's /usr/portage. That
18 should cover both syncing and distfiles. My only concern is how the
19 different profiles are handled, i.e. 64-bit versus 32-bit.
20
21 --
22 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
[gentoo-user] Re: qemu-kvm setup questions walt <w41ter@×××××.com>