Skip to content

Commit 9be5241

Browse files
committed
Improvement
1 parent 370aca0 commit 9be5241

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ private void configureAgentHooks(final Map<String, Object> params) {
14151415
}
14161416

14171417
public boolean isUefiPropertiesFileLoaded() {
1418-
return _uefiProperties != null && _uefiProperties.getProperty("guest.loader.legacy") != null;
1418+
return !_uefiProperties.isEmpty();
14191419
}
14201420

14211421
private void loadUefiProperties() throws FileNotFoundException {

0 commit comments

Comments
 (0)