feat(xva): improve compatibility with xenserver (#7563)

feat(xva): improve import compatibility with xenserver

* from ticket 23636
* fix error (Failure "Field last_boot_CPU_flags not present in rpc")
* fix error (Failure "(Failure "Field suspend_VDI not present in rpc"")
* fix error (Failure "(Failure "Field suspend_SR not present in rpc"")
This commit is contained in:
Florent BEAUCHAMP
2024-04-29 10:32:41 +02:00
committed by GitHub
parent 81a125846f
commit 2427f48618
2 changed files with 4 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ export const DEFAULT_VM = {
is_snapshot_from_vmpp: false,
is_vmss_snapshot: false,
last_booted_record: '',
last_boot_CPU_flags: {},
memory_dynamic_max: 1,
memory_dynamic_min: 1,
memory_overhead: 11534336,
@@ -86,8 +87,8 @@ export const DEFAULT_VM = {
snapshot_time: new Date(0),
snapshots: [],
start_delay: 0,
// suspend_VDI:'OpaqueRef:NULL',
// suspend_SR:'OpaqueRef:NULL',
suspend_VDI: 'OpaqueRef:NULL',
suspend_SR: 'OpaqueRef:NULL',
tags: [],
transportable_snapshot_id: '',
// uuid,

View File

@@ -17,6 +17,7 @@
- Fix support of XenServer 6.5 (broken in XO 5.93.0)
- [VMWare/Import] Fix `Cannot create property 'xxx' on string 'yyy' when trying to import from ESXi
- [Import/VMWare] Fix ERR_PREMATURE_CLOSE error with Xenserver hosts (PR [#7563](https://github.com/vatesfr/xen-orchestra/pull/7563))
### Packages to release