I have this issue running an Ubuntu 12.04.5 guest (running kernel 3.13.0-43-generic) on a KVM Hypervisor with the same configuration (Ubuntu 12.04.5, 3.13.0-43, CPU 4x AMD Opteron(TM) Processor 6274, Dell R915).
I'm unable to boot the guest the 80% of the trials. The error is reproducible even with a specific guest CPU configured or with the QEMU generic one. This is the output from a brand new Ubuntu 12.04.5 installation:
I have this issue running an Ubuntu 12.04.5 guest (running kernel 3.13.0-43-generic) on a KVM Hypervisor with the same configuration (Ubuntu 12.04.5, 3.13.0-43, CPU 4x AMD Opteron(TM) Processor 6274, Dell R915).
I'm unable to boot the guest the 80% of the trials. The error is reproducible even with a specific guest CPU configured or with the QEMU generic one. This is the output from a brand new Ubuntu 12.04.5 installation:
[ 5.136174] divide error: 0000 [#1] SMP ffffffff81051e6 4>] [<ffffffff81051 e64>] kvm_unlock_ kick+0xa4/ 0x100 6a1cf8 EFLAGS: 00010046 0(0000) GS:ffff88041fc2 0000(0000) knlGS:000000000 0000000 8ba>] __ticket_ unlock_ slowpath+ 0x2e/0x32 5fa>] _raw_spin_ unlock+ 0x2a/0x30 37b>] __migrate_ task+0xcb/ 0x180 430>] ? __migrate_ task+0x180/ 0x180 453>] migration_ cpu_stop+ 0x23/0x30 8d3>] cpu_stopper_ thread+ 0x83/0x150 6be>] ? __schedule+ 0x38e/0x700 04d>] smpboot_ thread_ fn+0xfd/ 0x180 f50>] ? SyS_setgroups+ 0x170/0x170 b59>] kthread+0xc9/0xe0 a90>] ? flush_kthread_ worker+ 0xb0/0xb0 5bc>] ret_from_ fork+0x7c/ 0xb0 a90>] ? flush_kthread_ worker+ 0xb0/0xb0 e64>] kvm_unlock_ kick+0xa4/ 0x100
[ 5.139614] Modules linked in: floppy
[ 5.143686] CPU: 1 PID: 36 Comm: migration/1 Not tainted 3.13.0-43-generic #72~precise1-Ubuntu
[ 5.144868] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
[ 5.144868] task: ffff880409699800 ti: ffff8804096a0000 task.ti: ffff8804096a0000
[ 5.144868] RIP: 0010:[<
[ 5.144868] RSP: 0018:ffff880409
[ 5.144868] RAX: 0000000000000005 RBX: 0000000000000000 RCX: 0000000000000002
[ 5.144868] RDX: 0000000000000000 RSI: ffff88041fc53480 RDI: 0000000000000100
[ 5.144868] RBP: ffff8804096a1d18 R08: ffffffff81eb54e8 R09: 0000000000000000
[ 5.144868] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88041fc53480
[ 5.144868] R13: 000000000000166c R14: 0000000000000002 R15: ffff88041fc53480
[ 5.144868] FS: 00007f8557f1f70
[ 5.144868] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 5.144868] CR2: 00007f8556b2f570 CR3: 0000000404ee2000 CR4: 00000000000006e0
[ 5.144868] Stack:
[ 5.144868] ffff880404dd0000 0000000000000002 ffff880404dd0654 ffff88041fc33480
[ 5.144868] ffff8804096a1d28 ffffffff8174b8ba ffff8804096a1d38 ffffffff817645fa
[ 5.144868] ffff8804096a1d98 ffffffff8109d37b ffff8804096a1d78 0000000000000002
[ 5.144868] Call Trace:
[ 5.144868] [<ffffffff8174b
[ 5.144868] [<ffffffff81764
[ 5.144868] [<ffffffff8109d
[ 5.144868] [<ffffffff8109d
[ 5.144868] [<ffffffff8109d
[ 5.144868] [<ffffffff810fb
[ 5.144868] [<ffffffff81760
[ 5.144868] [<ffffffff81097
[ 5.144868] [<ffffffff81096
[ 5.144868] [<ffffffff8108f
[ 5.144868] [<ffffffff8108f
[ 5.144868] [<ffffffff8176d
[ 5.144868] [<ffffffff8108f
[ 5.144868] Code: 08 66 44 39 ea 75 c0 0f b6 15 e9 35 e6 00 84 d2 75 2e 83 05 fa 35 e6 00 01 48 c7 c0 8a a0 00 00 31 db 0f b7 0c 01 b8 05 00 00 00 <0f> 01 c1 66 0f 1f 84 00 00 00 00 00 5b 41 5c 41 5d 41 5e 5d c3
[ 5.144868] RIP [<ffffffff81051
[ 5.144868] RSP <ffff8804096a1cf8>
[ 5.144868] ---[ end trace 9f5442e8ee6f35f7 ]---
Attached you can find the full NMI trace (12 vCPU).