]> git.proxmox.com Git - qemu.git/commitdiff
qom: allow turning cast debugging off
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2013 12:16:40 +0000 (14:16 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 13 May 2013 14:52:06 +0000 (09:52 -0500)
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>

No differences found