Re: [PATCH] KVM: Add wrapper script around QEMU to test kernels

Jan Kiszka
2011-11-06T16:19:27Z

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

On 2011-11-06 14:06, Pekka Enberg wrote:
> Sure. I think it's mostly people that are interested in non-Linux
> virtualization that think the KVM tool is a pointless project.
> However, some people (including myself) think the KVM tool is a more
> usable and hackable tool than QEMU for Linux virtualization.

"Hackable" is relative. I'm surly not saying QEMU has nicer code than
kvm-tool, rather the contrary. But if it were that bad, we would not
have hundreds of contributors, just in the very recent history.

"Usable" - I've tried kvm-tool several times and still (today) fail to
get a standard SUSE image (with a kernel I have to compile and provide
separately...) up and running *). Likely a user mistake, but none that
is very obvious. At least to me.

In contrast, you can throw arbitrary Linux distros in various forms at
QEMU, and it will catch and run them. For me, already this is more usable.

Jan

*) kvm run -m 1000 -d OpenSuse11-4_64.img arch/x86/boot/bzImage \
-p root=/dev/vda2
...
[ 1.772791] mousedev: PS/2 mouse device common for all mice
[ 1.774603] cpuidle: using governor ladder
[ 1.775490] cpuidle: using governor menu
[ 1.776865] input: AT Raw Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 1.778609] TCP cubic registered
[ 1.779456] Installing 9P2000 support
[ 1.782390] Registering the dns_resolver key type
[ 1.794323] registered taskstats version 1

...and here the boot just stops, guest apparently waits for something

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]