mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
This is a slight change in the implementation of QMPInputVisitor that helps when adding strict mode. Const QObjects cannot be inc/decref-ed, and that's why QMPInputVisitor relies heavily on weak references to inner objects. I'm not removing the weak references now, but since refcount+const is a lost battle in C (C++ has "mutable") I think removing const is fine in this case. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> |
||
|---|---|---|
| .. | ||
| qapi-dealloc-visitor.c | ||
| qapi-dealloc-visitor.h | ||
| qapi-types-core.h | ||
| qapi-visit-core.c | ||
| qapi-visit-core.h | ||
| qapi-visit-impl.h | ||
| qmp-core.h | ||
| qmp-dispatch.c | ||
| qmp-input-visitor.c | ||
| qmp-input-visitor.h | ||
| qmp-output-visitor.c | ||
| qmp-output-visitor.h | ||
| qmp-registry.c | ||
| string-input-visitor.c | ||
| string-input-visitor.h | ||
| string-output-visitor.c | ||
| string-output-visitor.h | ||