Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kvm/libvirt and kernel configuration
Date: Mon, 22 Apr 2013 16:33:50
Message-Id: 5175665B.4070409@gmail.com
In Reply to: Re: [gentoo-user] kvm/libvirt and kernel configuration by Michael Hampicke
1 On 04/22/2013 11:38 AM, Michael Hampicke wrote:
2 > Am 22.04.2013 14:31, schrieb Michael Mol:
3 >> On 04/22/2013 05:40 AM, Michael Hampicke wrote:
4 >
5 > snip
6 >
7 >> What I'm really looking for, though, is a list of all the devices the
8 >> qemu/kvm host can emulate, and the most-specific guest driver. I.e. If I
9 >> wanted to make a generic kernel configuration that contained the optimum
10 >> drivers for all possible qemu/kvm configurations, what would be the
11 >> minimum feature set?
12 >
13 > Sorry I misunderstood you. I know that somewhere deep within some
14 > documentation I saw such a list, but I cannot find it now (maybe it was
15 > libvirt or in the IBM best practices docs?).
16 >
17 > Here's list of devices that I know of, which kvm can emulate.
18 >
19 > net: e1000, ne2000, rtl8139, pcnet, virtio
20 > video: spice/qxl, vmnet (needs guest driver from vmware), cirrus, xen, vga
21 > io: virtio, ata_piix, sata ahci
22
23 I was able to find these things while browsing through the 'details'
24 list in virt-manager. Mostly what I'm curious about is which kernel
25 configuration options they correspond to when setting up kernels in the
26 guest. I'll post a link to the kernel configuration options I've found
27 (so far) when I get home tonight.
28
29 >
30 > Do you also care about stuff like sound cards?
31
32 A little. As I said, it's at least in part an academic exercise, so
33 completeness becomes interesting. (Though some things can get plain
34 silly, such as sb16, which I believe would be exposed via the ISA bus.)
35
36 I do find it weird that there's nothing exposed to the guest via, e.g.
37 the i2c bus; that would seem a natural mechanism through which to expose
38 host knowledge and, possibly, influence guest behavior.
39
40 Thanks for the responses. I'm always fond of knowledge-share threads. :)

Attachments

File name MIME type
signature.asc application/pgp-signature