You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ "left join user_vm_details on vm_instance.id = user_vm_details.vm_id where (user_vm_details.name is null or user_vm_details.name = ? ) and vm_instance.instance_name in (";
+ "left join vm_instance_details on vm_instance.id = vm_instance_details.vm_id where (vm_instance_details.name is null or vm_instance_details.name = ? ) and vm_instance.instance_name in (";
129
129
130
130
privatestaticfinalintVM_DETAILS_BATCH_SIZE = 100;
131
131
@@ -756,7 +756,7 @@ public List<Pair<Pair<String, VirtualMachine.Type>, Pair<Long, String>>> getVmsD
Copy file name to clipboardExpand all lines: plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3204,7 +3204,7 @@ protected void setNewVRamSizeVmVideoCard(VirtualMachineMO vmMo, long svgaVmramSi
3204
3204
}
3205
3205
3206
3206
/**
3207
-
* Modifies vm vram size if it was set to a different size to the one provided in svga.vramSize (user_vm_details or template_vm_details) on {@code vmConfigSpec}
3207
+
* Modifies vm vram size if it was set to a different size to the one provided in svga.vramSize (vm_instance_details or template_vm_details) on {@code vmConfigSpec}
qresultset=self.dbclient.execute("select id from vm_instance where uuid = '%s';"%self.virtual_machine.id)
321
321
vm_id=qresultset[0]
322
-
qresultset=self.dbclient.execute("select name, value from user_vm_details where vm_id = '%d';"%vm_id)
322
+
qresultset=self.dbclient.execute("select name, value from vm_instance_details where vm_id = '%d';"%vm_id)
323
323
detailKeys= [x[0] forxinqresultset]
324
324
325
325
self.assertTrue('mks.enable3d'indetailKeysand'mks.use3dRenderer'indetailKeysand'svga.autodetect'indetailKeysand'svga.vramSize'indetailKeys, "VM details do not contain 3D GPU details")
0 commit comments