cloner: mark transient_shareBacking disk as shareable

libvirt 7.4.0 added support for sharing base image of <transient/> disks,
multiple VMs can share the same image
https://libvirt.org/news.html#v7-4-0-2021-06-01

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
This commit is contained in:
Liu Yiding 2021-06-17 16:40:07 +08:00 committed by Cole Robinson
parent 5f12f63549
commit e4a9ff7df4
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ def _get_shareable_msg(disk):
return _("No storage to clone.") return _("No storage to clone.")
if disk.read_only: if disk.read_only:
return _("Read Only") return _("Read Only")
if disk.shareable: if disk.shareable or disk.transient_shareBacking:
return _("Marked as shareable") return _("Marked as shareable")