Skip to content

Commit

Permalink
Merge pull request #50 from tklengyel/ovmf
Browse files Browse the repository at this point in the history
OXT-1431: Guest UEFI support
  • Loading branch information
jean-edouard authored Sep 19, 2018
2 parents 7bb9232 + e944db2 commit d79a689
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/script/models/vmModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ XenClient.UI.VMModel = function(vm_path) {
this.usb_enabled = true;
this.stubdom = false;
this.viridian = true;
this.bios = "seabios";
this.virt_type= "hvm";
this.kernel = "";
this.kernel_extract = "";
Expand Down Expand Up @@ -151,6 +152,7 @@ XenClient.UI.VMModel = function(vm_path) {
["stubdom", interfaces.vm],
["viridian", interfaces.vm],
["virt_type", interfaces.vm],
["bios", interfaces.vm],
["kernel", interfaces.vm],
["kernel_extract", interfaces.vm],
["cmd_line", interfaces.vm],
Expand Down
3 changes: 3 additions & 0 deletions widgets/xenclient/nls/VMDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
PV: "PV: Paravirtualized Virtual Machine",
PVH: "PVH: Paravirtualized Hardware Virtual Machine",
HVM: "HVM: Hardware Virtual Machine",
BIOS: "BIOS:",
BIOS_OVMF: "UEFI",
BIOS_SEABIOS: "Legacy",
KERNEL: "Kernel Path:",
KERNEL_EXTRACT: "Kernel Extraction Path:",
COMMAND_LINE: "Command Line:",
Expand Down
4 changes: 4 additions & 0 deletions widgets/xenclient/templates/VMDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ <h1>${VIRTUAL_TITLE}</h1>
<label for="virt_type">${VIRT_TYPE}</label>
<span class='value' dojoType='citrix.common.EditableWidget' editor='citrix.common.Select' map="{'${HVM}': 'hvm', '${PV}': 'pv', '${PVH}': 'pvh'}" name='virt_type'></span>
</div>
<div class="citrixTabPaneField">
<label for="bios">${BIOS}</label>
<span class="value" dojoType="citrix.common.EditableWidget" editor="citrix.common.Select" map="{'${BIOS_SEABIOS}': 'seabios', '${BIOS_OVMF}': 'ovmf'}" name="bios"></span>
</div>
<div class="citrixTabPaneField">
<label for="kernel">${KERNEL}</label>
<span class="value" dojoType="citrix.common.EditableWidget" editor="citrix.common.ValidationTextBox" name="kernel"></span>
Expand Down

0 comments on commit d79a689

Please sign in to comment.