mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge remote-tracking branch 'origin/4.17'
This commit is contained in:
commit
0cae4406fb
@ -5590,6 +5590,9 @@ public class LibvirtComputingResourceTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMemoryFreeInKBsTestDomainReturningIncompleteArray() throws LibvirtException {
|
public void getMemoryFreeInKBsTestDomainReturningIncompleteArray() throws LibvirtException {
|
||||||
|
if (!System.getProperty("os.name").equals("Linux")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
LibvirtComputingResource libvirtComputingResource = new LibvirtComputingResource();
|
LibvirtComputingResource libvirtComputingResource = new LibvirtComputingResource();
|
||||||
|
|
||||||
MemoryStatistic[] mem = createMemoryStatisticFreeMemory100();
|
MemoryStatistic[] mem = createMemoryStatisticFreeMemory100();
|
||||||
|
|||||||
@ -4031,6 +4031,7 @@ public class QueryManagerImpl extends MutualExclusiveIdsManagerBase implements Q
|
|||||||
options.put(VmDetailConstants.ROOT_DISK_SIZE, Collections.emptyList());
|
options.put(VmDetailConstants.ROOT_DISK_SIZE, Collections.emptyList());
|
||||||
|
|
||||||
if (HypervisorType.KVM.equals(hypervisorType)) {
|
if (HypervisorType.KVM.equals(hypervisorType)) {
|
||||||
|
options.put(VmDetailConstants.NIC_ADAPTER, Arrays.asList("e1000", "virtio", "rtl8139", "vmxnet3", "ne2k_pci"));
|
||||||
options.put(VmDetailConstants.ROOT_DISK_CONTROLLER, Arrays.asList("osdefault", "ide", "scsi", "virtio"));
|
options.put(VmDetailConstants.ROOT_DISK_CONTROLLER, Arrays.asList("osdefault", "ide", "scsi", "virtio"));
|
||||||
options.put(VmDetailConstants.VIDEO_HARDWARE, Arrays.asList("cirrus", "vga", "qxl", "virtio"));
|
options.put(VmDetailConstants.VIDEO_HARDWARE, Arrays.asList("cirrus", "vga", "qxl", "virtio"));
|
||||||
options.put(VmDetailConstants.VIDEO_RAM, Collections.emptyList());
|
options.put(VmDetailConstants.VIDEO_RAM, Collections.emptyList());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user