mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-21 18:03:43 +03:00
ovirt: Do not filter out DATA storage domains
Since ovirt 4.2 it is acceptable to have ISO images in storage domains of DATA type, while the usage of ISO type is about to be deprecated. The code now allow both types of storage domains when looking up for ISO images. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/release_notes/deprecated_features_rhv https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/release_notes/deprecated_features_rhv Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1835640 Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
parent
ee173fc254
commit
bbda3aa71a
@ -652,8 +652,8 @@ static gboolean storage_domain_validate(OvirtForeignMenu *menu G_GNUC_UNUSED,
|
||||
|
||||
g_object_get(domain, "name", &name, "type", &type, "state", &state, NULL);
|
||||
|
||||
if (type != OVIRT_STORAGE_DOMAIN_TYPE_ISO) {
|
||||
g_debug("Storage domain '%s' type is not ISO", name);
|
||||
if (type != OVIRT_STORAGE_DOMAIN_TYPE_ISO && type != OVIRT_STORAGE_DOMAIN_TYPE_DATA) {
|
||||
g_debug("Storage domain '%s' type is not ISO or DATA", name);
|
||||
ret = FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user