commit | d6edb15576643ab348a9f73e115c2e037edf7460 | [log] [tgz] |
---|---|---|
author | Lin Ma <lma@suse.com> | Mon Mar 30 16:36:28 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Apr 01 10:06:38 2015 +0200 |
tree | 54365e3a269416ad3fac1efee0a9c320754f9185 | |
parent | 033a20359aaf93f4d8aa2be12558901e8e028baa [diff] |
qom: Add can_be_deleted callback to UserCreatableClass If backends implement the can_be_deleted and it returns false, Then the qmp_object_del won't delete the given backends. Signed-off-by: Lin Ma <lma@suse.com> Message-Id: <1427704589-7688-2-git-send-email-lma@suse.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>