1 |
On 04/22/2013 03:04 PM, Michael Mair-Keimberger wrote: |
2 |
> Regarding devices which devices qemu-kvm supports, just take a look at |
3 |
> following commands: |
4 |
> |
5 |
> Available net devices: |
6 |
> |
7 |
> qemu-system-x86_64 -net nic,model=? |
8 |
> |
9 |
> Available cpu's: |
10 |
> |
11 |
> qemu-system-x86_64 -cpu ? |
12 |
> |
13 |
> Available machines (if needed) |
14 |
> |
15 |
> qemu-system-x86_64 -machine ? |
16 |
> |
17 |
> General list of available devices: |
18 |
> |
19 |
> qemu-system-x86_64 -device ? |
20 |
> |
21 |
> |
22 |
> |
23 |
> Depending on your arch it might differ.. |
24 |
> |
25 |
> |
26 |
> |
27 |
> Regarding virito devices: |
28 |
> |
29 |
> I highly recommend using those drivers. For my gentoo guests i always |
30 |
> use virtio drivers for network devices (with vhost=on) and harddisks. |
31 |
> (on windows guests only virito-net drivers) The performance gain is |
32 |
> incredible. However, especially for the virtio harddisk driver, make |
33 |
> sure you change fstab entries, because harddisk names change from sda to |
34 |
> vda (or just use them from the beginning. |
35 |
> |
36 |
> |
37 |
> |
38 |
> If you going to try out desktop vm's too i also recommend qxl with |
39 |
> spice. It's really fast and it also supports copy/paste (however you |
40 |
> need an service for copy/paste on linux "app-emulation/spice-vdagent") |
41 |
> and window resizing. Those features also work on windows. |
42 |
|
43 |
Good to know. Does it work over the network, or does it presume local |
44 |
connectivity? My primary use case is connecting to the box over |
45 |
wireless. My secondary use case is connecting over a WAN link. Local |
46 |
connectivity is out of the question for this VM server. |
47 |
|
48 |
> |
49 |
> |
50 |
> |
51 |
> Regarding libvirt my experience is actually very low since i setup my |
52 |
> vms with an custom init script. You can take a look on it here: |
53 |
> https://github.com/mm1ke/qemu-init/tree/devel |
54 |
|
55 |
|
56 |
I'm actually not having any real difficulty setting up the VMs. As I |
57 |
said, the matter is largely academic. It's really not difficult to set |
58 |
up a guest primarily with virtio drivers, of course. |
59 |
|
60 |
The "problem" I'm trying to solve is the apparent lack of documentation |
61 |
mapping host kvm/qemu capabilities with guest kernel configurations |
62 |
|
63 |
|
64 |
> |
65 |
> I can also provide a basic kernel .config for the latest stable kernel |
66 |
> on x64 and x86 if you are interrested. |
67 |
|
68 |
Like Stefan, I'm also curious. I would probably go through and tweak a |
69 |
number of network-related features (add a netfilter feature here, remove |
70 |
a network stack component there), but it'd be interesting to look at. |