1 |
On 07/13/2010 08:54 PM, Walter Dnes wrote: |
2 |
> Before anybody asks... |
3 |
> 1) VirtualBox manages to do a hard locup on my Intel I3 |
4 |
> 2) qemu depends on softmmu, which requires gcc 3.x |
5 |
> |
6 |
> So I installed qemu-kvm (different from qemu). The documentation that |
7 |
> I've found via Google is out-of-date/irrelavant. I know that there is a |
8 |
> "kvm" command, and typing "qemu{TAB}{TAB}" gives me... |
9 |
> |
10 |
> waltdnes@i3 ~ $ qemu |
11 |
> qemu qemu-io qemu-system-x86_64 |
12 |
> qemu-i386 qemu-kvm qemu-x86_64 |
13 |
> qemu-img qemu-nbd |
14 |
> |
15 |
> Of the 9 commands, only qemu, qemu-img, and qemu-nbd have man pages. |
16 |
> So RTFM becomes a little harder<G>. Are there any up-to-date central |
17 |
> locations for qemu-kvm documentation? |
18 |
|
19 |
Well, wait a sec. I track both qemu and qemu-kvm from their git repositories |
20 |
rather than the gentoo packages, so YMMV. |
21 |
|
22 |
One potentially very confusing thing between the two products is that the |
23 |
primary command-line program for qemu is (what else?) "qemu", but for qemu-kvm |
24 |
the primary command-line program is qemu-system-x86_64. (Only 64-bit machines |
25 |
with hardware virtualization support will run qemu-kmv, AFAIK.) |
26 |
|
27 |
BUT BEWARE: both qemu and qemu-kvm supply a file named qemu-system-x86_64, and |
28 |
they are not at all the same file, so you cannot have both packages installed in |
29 |
the same --prefix. (I don't know how gentoo resolves that conflict.) |
30 |
|
31 |
I install the git version of qemu in /usr/local, and qemu-kvm in /home/wa1ter, |
32 |
so I have to be careful to type the --prefix when I run one or the other. |
33 |
|
34 |
qemu-kvm does not supply a command named 'qemu', so there is no name conflict |
35 |
in that particular case. If you type 'qemu-system-x86_64', however, you will |
36 |
get completely different results depending on which package you are actually |
37 |
executing, so watch it! |
38 |
|
39 |
AFAICT, the command-line flags for 'qemu' and 'qemu-system-x86_64' are identical |
40 |
at least for simple stuff, though I never use the super-anal-compulsive flags |
41 |
for complicated networking/bridging/firewalling stuff, so I can't comment on it. |
42 |
|
43 |
My impression from experience is that qemu-img is the same for both packages, |
44 |
but I'm careful anyway to use the matching version, just in case. |
45 |
|
46 |
For the short term, I'd say you can use the regular qemu docs for looking up what |
47 |
command-line flags to use with qemu-kvm. If you find any exceptions, please let |
48 |
us know. |