guest boots up too slowly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
qemu.git (memory/queue branch) commit: 6cc7686696f73ae
or qemu.git (master branch) commit: 8843cf40c0f4829
kvm.git commit: 7f914d61cd2156e
It will costs about 180 seconds to booting up a rhel6 guest. But when I use qemu.git with commit edbb7c0, the rhel6 guest can boot up in about 50 seconds. I did the comparative test in the same box and using the same command line to create a guest.
I found this bug in memory/queue branch of qemu.git on September 21st. As some codes in memory branch were merged into master branch, the master tree of qemu.git also has this issue now.
I found the following log in master tree. And that merger maybe introduced this issue in master tree.
commit 36f490b176afab3
Merge: ebffe2a 0d95952
Author: Anthony Liguori <email address hidden>
Date: Fri Oct 14 10:44:52 2011 -0500
Merge remote-tracking branch 'qemu-kvm-
Reproduce steps:
----------------
1.with latest qemu.git master tree, to create a guest: qemu-system-x86_64 -m 1024 -smp 2 -hda /root/rhel6.img
(It maybe cost about 180 seconds to boot up.)
sorry, the right command to reproduce is 'qemu-system-x86_64 -m 1024 -smp 2 -hda /root/rhel6.img'. I missed the '-hda' in the bug description.