committed by
Julien Fontanet
parent
dc1eb82295
commit
73de421d47
@@ -55,6 +55,7 @@
|
||||
- [Backup Report] Log error when job failed [#3458](https://github.com/vatesfr/xen-orchestra/issues/3458) (PR [#3593](https://github.com/vatesfr/xen-orchestra/pull/3593))
|
||||
- [Backup NG] Display logs for backup restoration [#2511](https://github.com/vatesfr/xen-orchestra/issues/2511) (PR [#3609](https://github.com/vatesfr/xen-orchestra/pull/3609))
|
||||
- [XOA] Display product version and list of all installed packages [#3560](https://github.com/vatesfr/xen-orchestra/issues/3560) (PR [#3621](https://github.com/vatesfr/xen-orchestra/pull/3621))
|
||||
- [VM] Ability to set nested virtualization in settings [#3619](https://github.com/vatesfr/xen-orchestra/issues/3619) (PR [#3625](https://github.com/vatesfr/xen-orchestra/pull/3625))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
||||
@@ -614,6 +614,8 @@ set.params = {
|
||||
// Emulate HVM C000 PCI device for Windows Update to fetch or update PV drivers
|
||||
hasVendorDevice: { type: 'boolean', optional: true },
|
||||
|
||||
expNestedHvm: { type: 'boolean', optional: true },
|
||||
|
||||
// Move the vm In to/Out of Self Service
|
||||
resourceSet: { type: ['string', 'null'], optional: true },
|
||||
|
||||
|
||||
@@ -302,7 +302,7 @@ const TRANSFORMS = {
|
||||
version: version && parseXml(version).docker_version,
|
||||
}
|
||||
})(),
|
||||
|
||||
expNestedHvm: obj.platform['exp-nested-hvm'] === 'true',
|
||||
high_availability: obj.ha_restart_priority,
|
||||
|
||||
memory: (function () {
|
||||
|
||||
@@ -383,6 +383,14 @@ export default {
|
||||
|
||||
hasVendorDevice: true,
|
||||
|
||||
expNestedHvm: {
|
||||
set (expNestedHvm, vm) {
|
||||
return this._updateObjectMapProperty(vm, 'platform', {
|
||||
'exp-nested-hvm': expNestedHvm ? 'true' : null,
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
nicType: {
|
||||
set (nicType, vm) {
|
||||
return this._updateObjectMapProperty(vm, 'platform', {
|
||||
|
||||
@@ -1036,6 +1036,7 @@ const messages = {
|
||||
osKernel: 'OS kernel',
|
||||
autoPowerOn: 'Auto power on',
|
||||
ha: 'HA',
|
||||
nestedVirt: 'Nested virtualization',
|
||||
vmAffinityHost: 'Affinity host',
|
||||
vmVga: 'VGA',
|
||||
vmVideoram: 'Video RAM',
|
||||
|
||||
@@ -470,6 +470,16 @@ export default class TabAdvanced extends Component {
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{_('nestedVirt')}</th>
|
||||
<td>
|
||||
<Toggle
|
||||
disabled={vm.power_state !== 'Halted'}
|
||||
value={vm.expNestedHvm}
|
||||
onChange={value => editVm(vm, { expNestedHvm: value })}
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{_('ha')}</th>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user