Gentoo Archives: gentoo-user

From: waltdnes@××××××××.org
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?
Date: Sun, 20 Dec 2015 07:47:48
Message-Id: 20151220074735.GA15432@waltdnes.org
In Reply to: Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine? by wabenbau@gmail.com
1 On Sun, Dec 20, 2015 at 04:47:35AM +0100, wabenbau@×××××.com wrote
2 > waltdnes@××××××××.org wrote:
3 >
4 > > I'm now at the configuring-the-kernel stage of the Gentoo guest
5 > > install. I had originally expected to pull in the .config from the
6 > > host machine, make a few tweaks, and get going. However, it appears
7 > > that multiple video and sound and network cards are supported, none
8 > > of which match those on the host. Which ones do people recommend
9 > > selecting?
10 > >
11 >
12 > That's what I'm using to start qemu:
13 >
14 > qemu-system-x86_64 -machine accel=kvm -cpu host -m 4096 -enable-kvm -name vm-01 -net nic,model=virtio -net user,hostfwd=tcp::2022-:22 -localtime -hda /path/to/image.qcow2 -display gtk -vga vmware
15 >
16 > Since upgrade to >=qemu-2.4 I cannot use sound card emulation any more
17 > because it either doesn't work at all (e.g. sb16, gus) or it freezes
18 > the guest (e.g. ac97, hda).
19 >
20 > Before I did the upgrade yesterday I used -soundhw ac97 and it worked
21 > very well. Till now I have not found a solution for this problem.
22 >
23 > I'm using a gtk window and not spice or vnc because this gives me the
24 > best performance. And I'm using vmware as VGA card emulation because
25 > it gives me the highest resolution (2368x1770).
26 >
27 > Performance is not super snappy but it's good enough for regular use
28 > like browsing the net and so on.
29
30 I intend to use it mostly for distcc. I still have an ancient OS/2
31 machine with Galactic Civilizations on it. Since I still have the CD
32 images, I'll also try to get that going in QEMU one of these days. My
33 LCD is 1920x1080, so performance is more important than humoungous
34 display size.
35
36 --
37 Walter Dnes <waltdnes@××××××××.org>
38 I don't run "desktop environments"; I run useful applications

Replies