Possible problem with -no-kvm-irqchip -no-kvm-pit qemu options detected during git daily testing
Hi folks, after looking at today's git testing results, it seems like we have a problem with the command line options:
-no-kvm-irqchip -no-kvm-pit
All VMs that started with those command line options just hang on the BIOS screen, therefore all tests failed due to timeouts.
So this looks like a real issue that needs to be looked at. If someone wants to look at the results in order to investigate the issues, the commit hashes of the git trees used are:
09/17 00:57:41 INFO | kvm_utils:0182| Commit hash for git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git is 852a3e8725b7672e36d29609538b232e7ea80b53 (v2.6.31-rc3-8224-g852a3e8) 09/17 00:58:03 INFO | kvm_utils:0182| Commit hash for git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git is 561d3ed34ece750609c2dcb8e432668d672c42f7 (kvm-88-1081-g561d3ed) 09/17 00:58:04 INFO | kvm_utils:0182| Commit hash for git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git is e9f6d366fa77a0988bcba2554a63a539ff1b2358 (kvm-88-14-ge9f6d36)
The full command lines being used are:
/usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090917-005904-H8Zl,server,nowait -drive file=/usr/local/autotest/tests/kvm/images/fc9-32.qcow2,if=ide,boot=on -net nic,vlan=0 -net user,vlan=0 -m 512 -cdrom /usr/local/autotest/tests/kvm/isos/linux/Fedora-9-i386-DVD.iso -smp 2 -no-kvm-irqchip -no-kvm-pit -redir tcp:5000::22 -vnc :0 /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090917-005904-H8Zl,server,nowait -drive file=/usr/local/autotest/tests/kvm/images/fc9-64.qcow2,if=ide,boot=on -net nic,vlan=0 -net user,vlan=0 -m 512 -cdrom /usr/local/autotest/tests/kvm/isos/linux/Fedora-9-x86_64-DVD.iso -smp 2 -no-kvm-irqchip -no-kvm-pit -redir tcp:5000::22 -vnc :0 /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090917-005904-H8Zl,server,nowait -drive file=/usr/local/autotest/tests/kvm/images/win2008-64.qcow2,if=ide,boot=on -net nic,vlan=0 -net user,vlan=0 -m 512 -cdrom /usr/local/autotest/tests/kvm/isos/windows/Windows2008-x64.iso -smp 2 -no-kvm-irqchip -no-kvm-pit -redir tcp:5000::23 -vnc :0
Please let me know if you need more information about the failures.
Lucas
Quoted 5 lines · Lucas Meneghel Rodrigues
Hi folks, after looking at today's git testing results, it seems like we have a problem with the command line options:
-no-kvm-irqchip -no-kvm-pit
This patch series should fix it. Not yet committed:
http://patchwork.kernel.org/patch/47135/
http://patchwork.kernel.org/patch/47136/
http://patchwork.kernel.org/patch/47137/
http://patchwork.kernel.org/patch/47144/
--
Gleb.
Quoted 4 lines · Gleb Natapov
Quoted 3 lines · Lucas Meneghel Rodrigues
Hi folks, after looking at today's git testing results, it seems like we have a problem with the command line options:
Quoted 8 lines
Quoted 2 lines
-no-kvm-irqchip -no-kvm-pit
This patch series should fix it. Not yet committed:
http://patchwork.kernel.org/patch/47135/
http://patchwork.kernel.org/patch/47136/
http://patchwork.kernel.org/patch/47137/
http://patchwork.kernel.org/patch/47144/
Marcelo applied those patches on the next branch of qemu-kvm.git, I am running a reduced test set (only with the options that were causing problems) against that branch and indeed seems the problem is resolved. I am waiting all the tests to complete to see if there are any other hidden issues.
Thanks Marcelo and Gleb!
Signature · 1 line
Lucas
Ok, tests ended, indeed a problem showed up - we still have the problem I reported with the options -no-kvm-irqchip -no-kvm-pit *when* are coupled with the option -smp 2.
If -smp 2 is not present, qemu works fine with the options -no-kvm-irqchip -no-kvm-pit.
An example of command line:
/usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20090918-131514-TdDQ,server,nowait -drive file=/usr/local/autotest/tests/kvm/images/fc9-64.qcow2,if=ide,boot=on -net nic,vlan=0 -net user,vlan=0 -m 512 -smp 2 -no-kvm-irqchip -no-kvm-pit -redir tcp:5000::22 -vnc :0
It's necessary to look further what could be causing this problem.
Lucas
Quoted 25 lines · Lucas Meneghel Rodrigues
Quoted 4 lines · Gleb Natapov
Quoted 3 lines · Lucas Meneghel Rodrigues
Hi folks, after looking at today's git testing results, it seems like we have a problem with the command line options:
Quoted 8 lines
Quoted 2 lines
-no-kvm-irqchip -no-kvm-pit
This patch series should fix it. Not yet committed:
http://patchwork.kernel.org/patch/47135/
http://patchwork.kernel.org/patch/47136/
http://patchwork.kernel.org/patch/47137/
http://patchwork.kernel.org/patch/47144/Marcelo applied those patches on the next branch of qemu-kvm.git, I am running a reduced test set (only with the options that were causing problems) against that branch and indeed seems the problem is resolved. I am waiting all the tests to complete to see if there are any other hidden issues.
Thanks Marcelo and Gleb!
--
Lucas
Signature · 1 line
Lucas
Quoted 15 lines · Lucas Meneghel Rodrigues
Ok, tests ended, indeed a problem showed up - we still have the problem I reported with the options -no-kvm-irqchip -no-kvm-pit *when* are coupled with the option -smp 2.
If -smp 2 is not present, qemu works fine with the options -no-kvm-irqchip -no-kvm-pit.
An example of command line:
/usr/local/autotest/tests/kvm/qemu-name 'vm1' -monitor unix:/tmp/monitor-20090918-131514-TdDQ,server,nowait -drive file=/usr/local/autotest/tests/kvm/images/fc9-64.qcow2,if=ide,boot=on(quoted diff) +0
-2-net nic,vlan=0 -net user,vlan=0 -m 512 -smp 2 -no-kvm-irqchip -no-kvm-pit -redir tcp:5000::22 -vnc :0
Quoted 2 lines
It's necessary to look further what could be causing this problem.
I've applied yet another patch by Gleb that should fix this.
Signature · 1 line
error compiling committee.c: too many arguments to function