Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/src/main/java/com/cloud/vm/VmDetailConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public interface VmDetailConstants {
String KVM_VNC_PORT = "kvm.vnc.port";
String KVM_VNC_ADDRESS = "kvm.vnc.address";
String KVM_VNC_PASSWORD = "kvm.vnc.password";
String KVM_GUEST_OS_TYPE_MACHINE = "kvm.guest.os.type.machine";

// KVM specific, custom virtual GPU hardware
String VIDEO_HARDWARE = "video.hardware";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,9 @@ protected GuestDef createGuestFromSpec(VirtualMachineTO vmTO, LibvirtVMDef vm, S
}
}
guest.setIothreads(customParams.containsKey(VmDetailConstants.IOTHREADS));
if (customParams.containsKey(VmDetailConstants.KVM_GUEST_OS_TYPE_MACHINE)) {
guest.setMachineType(customParams.get(VmDetailConstants.KVM_GUEST_OS_TYPE_MACHINE));
}
}
guest.setUuid(uuid);
if(!isGuestS390x()) {
Expand Down
Loading