Advertising

root@olive:~ # bhyvectl --vm=coco --get-stats --cpu=0
vcpu0
vm exits due to external interrupt 1330
number of times hlt was intercepted 676
number of times %cr access was intercepted 1
number of times rdmsr was intercepted 0
number of times wrmsr was intercepted 4
number of monitor trap exits 0
number of times pause was intercepted 428499
vm exits due to interrupt window opening 1231
vm exits due to nmi window opening 0
number of times in/out was intercepted 423985
number of times cpuid was intercepted 22
vm exits due to nested page fault 7523
number of vm exits for unknown reason 0
number of times astpending at exit 38
number of vm exits handled in userspace 853290
number of NMIs delivered to vcpu 0
vcpu total runtime 6954314530
number of ticks vcpu was idle 59572
vcpu migration across host cpus 29
number of times hlt was ignored 0
total number of vm exits 863271
And here is when running with vcpu==2:
root@olive:~ # bhyvectl --vm=coco --get-stats --cpu=0
vcpu0
vm exits due to external interrupt 19234
number of times hlt was intercepted 1965
number of times %cr access was intercepted 1
number of times rdmsr was intercepted 0
number of times wrmsr was intercepted 4
number of monitor trap exits 0
number of times pause was intercepted 3907709
vm exits due to interrupt window opening 8105
vm exits due to nmi window opening 0
number of times in/out was intercepted 457998
number of times cpuid was intercepted 50
vm exits due to nested page fault 940909
number of vm exits for unknown reason 0
number of times astpending at exit 102
number of vm exits handled in userspace 4367825
number of NMIs delivered to vcpu 0
vcpu total runtime 51834598990
number of ticks vcpu was idle 887
vcpu migration across host cpus 25
number of times hlt was ignored 0
total number of vm exits 5335975
root@olive:~ # bhyvectl --vm=coco --get-stats --cpu=1
vcpu1
vm exits due to external interrupt 51249
number of times hlt was intercepted 3676
number of times %cr access was intercepted 2
number of times rdmsr was intercepted 0
number of times wrmsr was intercepted 4
number of monitor trap exits 0
number of times pause was intercepted 4667527
vm exits due to interrupt window opening 32453
vm exits due to nmi window opening 0
number of times in/out was intercepted 57278
number of times cpuid was intercepted 63
vm exits due to nested page fault 266091
number of vm exits for unknown reason 0
number of times astpending at exit 164
number of vm exits handled in userspace 4728481
number of NMIs delivered to vcpu 0
vcpu total runtime 53833466076
number of ticks vcpu was idle 965
vcpu migration across host cpus 16
number of times hlt was ignored 0
total number of vm exits 5078343
The panic comes eventually like this:
login: panic: deadlkres: possible deadlock detected for 0xfffffe0090fb5490,
blocked for 217798 ticks
cpuid = 0
Uptime: 255d6h29m56s
Automatic reboot in 15 seconds - press a key on the console to abort
Hope this helps, and FYI, here's a dmesg from the host:
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #7 r248935: Sat Mar 30 13:19:43 CDT 2013
r...@olive.example.com:/usr/obj/usr/src/sys/MACKGEN amd64
FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
CPU: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz (3200.19-MHz K8-class CPU)

WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
tap0: Ethernet address: 00:bd:8c:54:07:00
tap0: link state changed to UP
bridge0: Ethernet address: 02:4c:89:ce:33:00
tap0: promiscuous mode enabled
bridge0: link state changed to UP
em1: link state changed to DOWN
em1: promiscuous mode enabled
em1: link state changed to UP
tap0: link state changed to DOWN
tap0: link state changed to UP
tap0: link state changed to DOWN
tap0: link state changed to UP

Yep, no problem. I saw the checkin and started a rebuild a few minutes ago
:-)

Here you go Neel:
root@olive:~ # bhyvectl --vm=coco --get-stats --cpu=0
vcpu0
vm exits due to external interrupt 45051
number of times hlt was intercepted 2277
number of NMIs delivered to vcpu 0
vcpu total runtime 105001652482
number of ticks vcpu was idle 919
vcpu migration across host cpus 13
number of times hlt was ignored 0
total number of vm exits 9240925
root@olive:~ #
root@olive:~ #
root@olive:~ # bhyvectl --vm=coco --get-stats --cpu=1
vcpu1
vm exits due to external interrupt 149431
number of times hlt was intercepted 4222
number of NMIs delivered to vcpu 0
vcpu total runtime 106876622528
number of ticks vcpu was idle 869
vcpu migration across host cpus 20
number of times hlt was ignored 0
total number of vm exits 8065909