>
> That's fine - you'll be running upstream qemu instead of qemu-kvm.  Just
> remember to add -enable-kvm to the command line.  Use ./configure
> --target-list=x86_64-softtmmu to cut down on compile time.

Yes, I am doing so about the --target-list but missed out the
-enable-kvm command option prior to start each Guest OS.  Here is my
script:

-----------------------------------8<-----------------------------------
#!/bin/sh

kerver=`uname -r`
KERNELDIR="--kerneldir=/usr/src/linux-`uname -r`"
make clean
./configure --prefix=/usr/local/kvm ${KERNELDIR} \
--target-list=x86_64-softmmu

make
make INSTALL_MOD_STRIP=1 install
mkinitrd -v -f --builtin=ehci-hcd --builtin=uhci-hcd
--builtin=ohci-hcd --builtin=usb-storage /boot/initrd-${kerver}.img
${kerver}
depmod -v `uname -r`
-----------------------------------8<-----------------------------------

Instead of rebooting... I do the following then start the FreeBSD
Guest OS to test:

1. Stop all Guest OSes.
2. rmmod -v kvm-intel
3. rmmod -v kvm
4. modprobe -v kvm
5. modprobe -v kvm-intel

If I add -enable-kvm to the command line to start the guest OS I got:

No SMP KVM support, use '-smp 1'
failed to initialize KVM

Well... ... changed to use '-smp 1' as shown and the FreeBSD 8.1 Guest
OS started without issues.  However for CentOS 5.5 Guest OS, since I
am using virtio... ... running in qemu instead of qemu-kvm will be an
issue?  I have problem to start the Guest OS and it always goes to the
CentOS installer since I have the following:

---SNAP---
-boot cd \
-cdrom /home/kvm/images/CentOS-5.5-x86_64-bin-1of8.iso \
-drive file=/dev/VM/centos5,if=virtio,boot=on \
---SNAP---

So I will not test on other Guest OS but just focus on FreeBSD instead.

>
> I'm betting 73b48d914f9 is the cause, but let's see the full bisect.
>

I don't know whether I have done it right or not about bisecting but
each good ones I just use git bisect good until the one that is
failing then I use git bisect bad.  The following are for git bisect
good qemu-kvm-0.12.1.2 and git bisect bad qemu-kvm-0.12.2:

# git bisect log
git bisect start
# good: [a6ec654a7a863afff41b491a02ffd696c862cb41] Merge branch
'stable-0.12-upstream' into stable-0.12
git bisect good a6ec654a7a863afff41b491a02ffd696c862cb41
# bad: [c01cfac552861ca4d82e359791a2d79da7f80cb5] device assignment:
default requires IOMMU
git bisect bad c01cfac552861ca4d82e359791a2d79da7f80cb5
# good: [66dbb62824845e91808171a675998706ce359c71] Handle TFTP ERROR from client
git bisect good 66dbb62824845e91808171a675998706ce359c71
# good: [04babf6c6f8ccf69f1219db5fea233d679702e90] roms: rework rom
loading via fw
git bisect good 04babf6c6f8ccf69f1219db5fea233d679702e90
# good: [3999bf32440c1ea2ceb85eef008cc56a069af13f] Qemu's internal
TFTP server breaks lock-step-iness of TFTP
git bisect good 3999bf32440c1ea2ceb85eef008cc56a069af13f
# good: [e389e937a7b94186449e0590bdc8f04ecbb1ab0b] Update version and
changelog for release
git bisect good e389e937a7b94186449e0590bdc8f04ecbb1ab0b
# bad: [b874ce1db7d8654850c8a6606b95ffb1c7d22ce2] Merge remote branch
'upstream/stable-0.12' into stable-0.12
git bisect bad b874ce1db7d8654850c8a6606b95ffb1c7d22ce2


The following are git bisect log between git bisect good
qemu-kvm-0.12.1.2 and git bisect bad qemu-kvm-0.12.3 instead:

git bisect start
# good: [a6ec654a7a863afff41b491a02ffd696c862cb41] Merge branch
'stable-0.12-upstream' into stable-0.12
git bisect good a6ec654a7a863afff41b491a02ffd696c862cb41
# bad: [69a5ecafa27daeb943dc2ee65b1470844f23f934] Merge branch
'stable-0.12-merge' into stable-0.12
git bisect bad 69a5ecafa27daeb943dc2ee65b1470844f23f934
# good: [d0d888bc6d1a106609b9af42ecb552c6c34a85c5] qcow2: Return
0/-errno in qcow2_alloc_cluster_offset
git bisect good d0d888bc6d1a106609b9af42ecb552c6c34a85c5
# good: [7ebc79037c5f426bfb08cc506670bf7dd3912430] virtio-net: fix
network stall under load
git bisect good 7ebc79037c5f426bfb08cc506670bf7dd3912430
# good: [6173d56bdcb53389c54e803873e6bf8f87836a4f] Merge remote branch
'qemu-kvm/uq/stable-0.12' into stable-0.12
git bisect good 6173d56bdcb53389c54e803873e6bf8f87836a4f
# bad: [59691c0cb129c9aa955be22573b43b26534f9db4] KVM: Request setting
of nmi_pending and sipi_vector
git bisect bad 59691c0cb129c9aa955be22573b43b26534f9db4
# bad: [dec2eb9d724b21581500aea911dd13f7bfbea59e] Fix kvm_load_mpstate
for vcpu hot add
git bisect bad dec2eb9d724b21581500aea911dd13f7bfbea59e


Let me know if I have done anything wrong about the bisecting... ...

Thanks.

Kindest regards,
Giam Teck Choon
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to