Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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: 0 additions & 1 deletion .web-docs/components/builder/vsphere-clone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg
for examples of profile names. Defaults to none.

- `NestedHV` (bool) - Enable nested hardware virtualization for the virtual machine.
Defaults to `false`.

- `firmware` (string) - The firmware for the virtual machine.

Expand Down
1 change: 0 additions & 1 deletion .web-docs/components/builder/vsphere-iso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg
for examples of profile names. Defaults to none.

- `NestedHV` (bool) - Enable nested hardware virtualization for the virtual machine.
Defaults to `false`.

- `firmware` (string) - The firmware for the virtual machine.

Expand Down
1 change: 0 additions & 1 deletion builder/vsphere/common/step_hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ type HardwareConfig struct {
// for examples of profile names. Defaults to none.
VGPUProfile string `mapstructure:"vgpu_profile"`
// Enable nested hardware virtualization for the virtual machine.
// Defaults to `false`.
NestedHV bool `mapstructure:"NestedHV"`
// The firmware for the virtual machine.
//
Expand Down
4 changes: 3 additions & 1 deletion builder/vsphere/driver/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ func (vm *VirtualMachineDriver) Configure(config *HardwareConfig) error {
confSpec.MemoryAllocation = &ramSpec

confSpec.MemoryReservationLockedToMax = &config.RAMReserveAll
confSpec.NestedHVEnabled = &config.NestedHV
if config.NestedHV {
confSpec.NestedHVEnabled = &config.NestedHV
}

confSpec.CpuHotAddEnabled = &config.CpuHotAddEnabled
confSpec.MemoryHotAddEnabled = &config.MemoryHotAddEnabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
for examples of profile names. Defaults to none.

- `NestedHV` (bool) - Enable nested hardware virtualization for the virtual machine.
Defaults to `false`.

- `firmware` (string) - The firmware for the virtual machine.

Expand Down
Loading