diff options
author | Lin Ma <lma@suse.com> | 2015-03-30 16:36:28 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-01 10:06:38 +0200 |
commit | d6edb15576643ab348a9f73e115c2e037edf7460 (patch) | |
tree | 54365e3a269416ad3fac1efee0a9c320754f9185 /qemu-nbd.c | |
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>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions