diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2013-05-10 14:16:40 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-05-13 09:52:06 -0500 |
| commit | 3556c233d931ad5ffa46a35cb25cfc057732ebb8 (patch) | |
| tree | bd7e58516cec0d8567112f1afef447ba58a44bca /hw/net/virtio-net.c | |
| parent | fa131d94a5c00c6bbea39358d4bca7bf98f6c1f5 (diff) | |
| download | focaccia-qemu-3556c233d931ad5ffa46a35cb25cfc057732ebb8.tar.gz focaccia-qemu-3556c233d931ad5ffa46a35cb25cfc057732ebb8.zip | |
qom: allow turning cast debugging off
Cast debugging can have a substantial cost (20% or more). Instead of adding special-cased "fast casts" in the hot paths, we can just disable it in releases. The tracing facilities we just added make it easier to analyze those problems that cast debugging would reveal. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1368188203-3407-7-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions