Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
742 commits
Select commit Hold shift + click to select a range
d9233f9
python: Add qcow2-to-stdout.py script
last-genius Apr 22, 2025
978765b
python3/qcow2-to-stdout: Remove unused code
last-genius Jun 26, 2025
7708c45
python3/qcow2-to-stdout: Update to handle block special files
last-genius Apr 22, 2025
8d3bf09
python3/qcow2-to-stdout: Add --diff option to export only changed clu…
last-genius May 15, 2025
2f3eec3
idl: Remove unused `vm_lacks_feature_*` errors (#6558)
last-genius Jun 26, 2025
b92d19e
CA-411477: Fix SM API version check failure (#6552)
BengangY Jun 27, 2025
c115a6d
rrdp-squeezed: Don't collect metrics from a domain with missing counters
psafont Jun 26, 2025
165bdec
rrdp-squeezed: generate per-vm memory target datasources
psafont Jun 26, 2025
a38ee7f
rrdp-squeezed: collect agent-collected per-vm free memory metrics
psafont Jun 26, 2025
0fef829
monitor_mem: Prepare xapi to consolidate memory metrics into a single…
psafont Jun 12, 2025
f601c12
rrdp-squeezed: move remaining memory metrics to this plugin
psafont Jun 12, 2025
fa5bc72
xcp-rrdd: remove duplicated code to fetch domains
psafont Jun 26, 2025
1b20f51
Move collection of memory metrics from xcp-rrdd to rrdp-squeezed (#6561)
psafont Jun 27, 2025
85c749c
CA-412854 Fix ssh_expiry drift after XAPI restart
LunfanZhang Jun 27, 2025
57cbad4
Move common retry_econnrefused function to xcp_client
snwoods Jun 25, 2025
f9e7969
CP-54207: Move VBD_attach outside of VM migrate downtime (#6489)
snwoods Jul 1, 2025
267c414
CA-412636: hostname changed to localhost with static IP and reboot
liulinC Jun 17, 2025
aa1653a
CA-412636: hostname changed to localhost with static IP and reboot (#…
liulinC Jul 1, 2025
4927eef
Add mlis for observer_helpers and observer_skeleton
snwoods Jun 16, 2025
fc5f98b
CA-393417: Drop device controller of cgroup v1
liulinC Jul 1, 2025
83a4888
xenopsd: set xen-platform-pci-bar-uc key in xenstore
AnthoineB Jun 27, 2025
56bd7c6
CP-308455 VM.sysprep start with skeleton
Jun 9, 2025
8d35ebc
CP-308455 VM.sysprep implement mkdtemp
Jun 11, 2025
c6bee52
CP-308455 VM.sysprep make iso
Jun 12, 2025
0e6f6ee
CP-308455 VM.sysprep Add logging
Jun 12, 2025
b88c199
CP-308455 VM.sysprep Add SR creation
Jun 12, 2025
2061e2e
CP-308455 VM.sysprep Find VBD for VM's CDR
Jun 16, 2025
b22f441
CP-308455 VM.sysprep Implement trigger
Jun 17, 2025
84e5a47
CP-308455 VM.sysprep log sysprep status
Jun 18, 2025
6372672
CP-308455 VM.sysprep watch execution, clean up
Jun 18, 2025
bf3ef79
CP-308455 VM.sysprep add feature flag
Jun 19, 2025
4c3e27d
CP-308455 VM.syspreo add some comments
Jun 19, 2025
20e33e7
CP-308455 VM.sysprep unify error handling
Jun 20, 2025
57dbab7
CP-308455 VM.sysprep list genisoimage as resource
Jun 23, 2025
b16b6d8
CP-308455 VM.sysprep improve error handling, use API.Client
Jun 23, 2025
c9e3bfd
CP-308455 VM.sysprep declare XML content as SecretString
Jul 1, 2025
903737d
Revert "CP-308455 VM.sysprep declare XML content as SecretString"
Jul 2, 2025
6118d47
xapi_vm_lifecycle: Stop assuming PV driver's presence implies all fea…
last-genius Jun 30, 2025
3209c5f
Add mlis for observer_helpers and observer_skeleton (#6539)
snwoods Jul 2, 2025
a215870
CP-308455 Save backtrace in error case
Jul 2, 2025
01981bd
CP-308455 VM.sysprep create better SR name label
Jul 2, 2025
9ce41c5
CP-308455 improve locating local ISO SR
Jul 2, 2025
191db16
CP-308455 VM.sysprep save backtrace
Jul 2, 2025
d736b73
CP-308455 VM.sysprep fix saving backtrace
Jul 2, 2025
630ec57
CP-308455 VM.sysprep write VDI UUID to xenstore
Jul 2, 2025
eaf2050
CP-308455 VM.sysprep make delay configurable
Jul 2, 2025
9153fb5
CP-308455 VM.sysprep guard on_startup with feature flag
Jul 2, 2025
4fb79a7
Move common retry_econnrefused function to xcp_client (#6564)
snwoods Jul 3, 2025
813b8ec
Add VM.sysprep API call (#6547)
lindig Jul 3, 2025
c895469
xapi_vm_lifecycle: Disallow suspend when cant_suspend_reason is present
last-genius Jul 2, 2025
30c0ba1
CA-413304: Restore VBD.unplug function to keep old functionality
snwoods Jul 3, 2025
8017a4e
CP-308455 VM.sysprep make delay configurable
lindig Jul 3, 2025
232013d
CP-308455 VM.sysprep make delay configurable (#6570)
edwintorok Jul 3, 2025
5733419
`xapi_vm_lifecycle`: Improve feature handling, avoid crashes (#6569)
last-genius Jul 4, 2025
c941af3
Add a `qcow2-to-stdout` Python script (#6559)
last-genius Jul 4, 2025
0fd510f
CA-393417: Bind mount /proc/<pid> into chroot
liulinC Jul 4, 2025
670f0ec
CA-412854 Fix ssh_expiry drift after XAPI restart (#6562)
BengangY Jul 4, 2025
7501f70
CA-413304: Restore VBD.unplug function to keep old functionality (#6571)
BengangY Jul 4, 2025
3f906d1
CP-40265 - xenopsd: Drop max_maptrack_frames to 0 by default on domai…
Nov 6, 2024
a88f4ff
CP-40265 - xenopsd: Calculate max_grant_frames dynamically
Nov 11, 2024
0c5d121
CA-413328 Enable auto-mode when XAPI failed for a extend period that …
LunfanZhang Jul 7, 2025
6c6e7b6
Treat 64 max_grant_frames as the lower bound
Nov 14, 2024
593bd8c
xenopsd: Don't iterate over StringMaps twice
Nov 19, 2024
947e496
xapi_vm_helpers: Raise allowed_VIF limit from 7 to 16
last-genius Jul 4, 2025
c725281
xapi-stdext-threads: calibrate ratio for delay times
psafont Jul 3, 2025
ce39acf
xapi-stdext-threads: calibrate ratio for delay times (#6568)
psafont Jul 7, 2025
51a97e7
Downgrade unknown SM.feature errors to warnings
gthvn1 Jul 7, 2025
03980fc
CP-308455 VM.sysprep use watch to detect sysprep running
edwintorok Jul 3, 2025
a124c37
Downgrade unknown SM.feature errors to warnings (#6578)
lindig Jul 7, 2025
5be84a4
CP-308455 VM.sysprep use watch to detect sysprep running (#6579)
last-genius Jul 7, 2025
5416081
CA-393417: Fix CI failure
liulinC Jul 7, 2025
5a4e109
CA-393417: Drop device controller of cgroup v1 and fix USB passthroug…
liulinC Jul 8, 2025
2dd2cb0
CA-413328 Enable auto-mode when XAPI failed for a extend period that …
BengangY Jul 8, 2025
41cb7df
datamodel_lifecycle: automatic update
BengangY Jul 8, 2025
9c145a0
datamodel_lifecycle: automatic update (#6581)
psafont Jul 8, 2025
d34d581
CA-413319: Ensure console timeout file exists when timeout is configured
LunfanZhang Jul 8, 2025
12826e8
CA-413412: Fail to designate new master
BengangY Jul 8, 2025
278ab35
CA-413412: Fail to designate new master (#6582)
BengangY Jul 9, 2025
97e50cf
CA-413424: Enhance xe help output
BengangY Jul 10, 2025
d958124
XSI-1954: Only block pool join for clustering on non-management VLAN
gangj Jul 10, 2025
a182d52
XSI-1954: Only block pool join for clustering on non-management VLAN …
gangj Jul 10, 2025
edb0d81
xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf
psafont Jul 11, 2025
bdbd975
xapi-idl/network: Remove code duplication for DNS persistence decisions
psafont Jul 11, 2025
761ca78
CP-308455 VM.sysprep add timeout parameter
Jul 10, 2025
db14926
CP-308455 VM.sysprep wait for shutdown
Jul 11, 2025
25154ce
CP-308455 VM.sysprep update documentation
Jul 11, 2025
e75712e
CP-308455 VM.sysprep wait for "action" key to disappear
Jul 11, 2025
6005231
xapi_sr_operations: Report more useful info when raising other_operat…
last-genius Jul 11, 2025
fd6d4f8
CP-308455 VM.sysprep wait for shutdown (#6587)
lindig Jul 14, 2025
d80df84
CA-413713: Change bash-completion shortcut
rosslagerwall Jul 14, 2025
11e9e2b
CA-413713: Change bash-completion shortcut (#6589)
edwintorok Jul 14, 2025
f721629
Replace `List.fold_left (||) false (List.map f lst)` with `List.exist…
last-genius Jul 15, 2025
b03d87d
Replace `List.fold_left (||) false (List.map f lst)` with `List.exist…
last-genius Jul 15, 2025
8378a9d
xenopsd: set xen-platform-pci-bar-uc key in xenstore (#6566)
edwintorok Jul 15, 2025
37a42e0
CP-308875: set Xen PCI MMIO BAR to WB
edwintorok Jul 11, 2025
19fa4d2
CP-308875: set Xen PCI MMIO BAR to WB (#6591)
edwintorok Jul 15, 2025
ac52de9
Add message argument to LICENSE_CHECKOUT_ERROR
robhoes Jul 11, 2025
bef6739
Add message argument to LICENSE_CHECKOUT_ERROR (#6592)
robhoes Jul 16, 2025
2ec4461
xapi_cluster_helpers: Correctly report other_operation_in_progress error
last-genius Jul 11, 2025
b6fb47c
xapi_vm_lifecycle: Correctly report other_operation_in_progress error
last-genius Jul 11, 2025
0f57ba8
qcow-stream-tool: Add a minimal CLI wrapper for Qcow_stream
last-genius Jul 16, 2025
d5d9999
{export,import}_raw_vdi: add qcow as supported format
last-genius May 1, 2025
c86e261
export_raw_vdi: Add support for differential QCOW2 export with base
last-genius May 15, 2025
2364685
Integrate QCOW2 VDI import-export (#6593)
last-genius Jul 16, 2025
832eda5
CP-52334 MVD - add -d option to mock driver-tool
Jul 17, 2025
e8ade77
xapi_vbd_helpers: Fix operation reporting when raising other_operatio…
last-genius Jul 11, 2025
d8a24ef
xapi_vdi: Report more useful information when raising other_operation…
last-genius Jul 11, 2025
8015edb
xapi_{vif,vusb}_helpers: Report more useful information when raising …
last-genius Jul 11, 2025
cbd5f17
message_forwarding: Report more info when raising other_operation_in_…
last-genius Jul 11, 2025
c5773da
xapi_pool_helpers: Report more info when raising other_operation_in_p…
last-genius Jul 11, 2025
8923f7a
xapi_pif: Report more info when raising other_operation_in_progress e…
last-genius Jul 11, 2025
443a317
xapi_vm_appliance_lifecycle: Report more info when raising other_oper…
last-genius Jul 11, 2025
0b843b6
xapi_vbd: Report more useful info when raising other_operation_in_pro…
last-genius Jul 11, 2025
d797d79
xapi_host_helpers: Report more useful info when raising other_operati…
last-genius Jul 14, 2025
3500de1
xapi/helpers: Fix handling of other_operation_in_progress delays
last-genius Jul 11, 2025
615aa21
idl/datamodel_errors: Add operation_{type,ref} to other_operation_in_…
last-genius Jul 14, 2025
5e895af
Adjust tests after other_operation_in_progress refactoring
last-genius Jul 14, 2025
1a4a339
CA-412420: Set vdi-type When Create snapshot on SMAPIv3 SR
LunfanZhang Jul 18, 2025
577186e
Improve `other_operation_in_progress` error users, fix handling of it…
last-genius Jul 18, 2025
f6238a0
CP-52334 MVD - add -d option to mock driver-tool (#6595)
lindig Jul 18, 2025
c185101
CA-413424: Enhance xe help output (#6584)
lindig Jul 18, 2025
5d179f9
[doc] add documentation about tracing
gthvn1 Jul 16, 2025
ea84aae
CA-413424: Enhance xe help output
BengangY Jul 10, 2025
db5ad7d
Merge master to feature branch
LunfanZhang Jul 21, 2025
c368857
Sync master to feature/configure-ssh-phase3 (#6598)
changlei-li Jul 21, 2025
7a444fe
CA-412420: Set vdi-type When Create snapshot on SMAPIv3 SR (#6596)
BengangY Jul 21, 2025
ca5a545
CP-54480 Update release number for ssh_auto_mode
LunfanZhang Jul 22, 2025
07bf863
CP-54480 Update release number for ssh_auto_mode (#6602)
BengangY Jul 22, 2025
fd5cc88
Merge SSH auto-mode feature to next (#6601)
BengangY Jul 22, 2025
6732c89
CA-413587: Checking feature for old FreeBSD driver
BengangY Jul 21, 2025
1b268dc
CA-413587: Checking feature for old FreeBSD driver (#6599)
robhoes Jul 22, 2025
c7592d7
[doc] add documentation about tracing (#6594)
last-genius Jul 22, 2025
b574b9a
CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear
Jul 11, 2025
fa24a4c
Disable SARIF upload for now: they are rejected
edwintorok Jul 24, 2025
f452c9d
Disable SARIF upload for now: they are rejected (#6605)
edwintorok Jul 24, 2025
dd75195
CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear (#6…
lindig Jul 24, 2025
2d2f5fb
CA-413424: Enhance xe help output (#6600)
lindig Jul 29, 2025
b014ce1
CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear (#6…
lindig Jul 24, 2025
ad38e87
CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear (#6…
lindig Jul 29, 2025
8d94d02
CP-309064 Add SSH Management feature design
LunfanZhang Jul 29, 2025
09953c3
CP-309064 Add SSH Management feature design (#6608)
BengangY Jul 30, 2025
b0e2b5b
CA-414418: Detection of AD account removal does not cause logout
liulinC Jul 31, 2025
92377bf
CA-414418: Perf: save user validate result and apply to sessions
liulinC Jul 31, 2025
2778096
CA-414418: Code refine for comments
liulinC Aug 1, 2025
25331ab
CA-414627: increase polling duration for tapdisk
edwintorok Aug 1, 2025
5313809
CA-414418: Sessions do not got destroyed after domain user been remo…
liulinC Aug 2, 2025
ebeb717
CA-414627: increase polling duration for tapdisk (#6611)
edwintorok Aug 4, 2025
d31de02
Update datamodel lifecycle
BengangY Aug 5, 2025
809bad5
Update datamodel lifecycle (#6613)
psafont Aug 5, 2025
2fcc62d
CI: update pre-commit config
psafont Aug 6, 2025
ca9e211
CI: update diff-cover parameters
psafont Aug 6, 2025
4fabd6a
Minor wording improvement
gangj Aug 6, 2025
fae6417
CP-53858: Domain CPU ready RRD metric - runnable_any
gangj Aug 6, 2025
2c8c7c7
CP-54087: Domain CPU ready RRD metric - runnable_vcpus
gangj Jun 18, 2025
d355725
CP-308465: RRD metric "runnable_vcups": rebase on top of xen.spec/PR#481
mg12 Aug 1, 2025
0ddcfe0
RRD metrics: "runnable_any" and "runnable_vcpus" (#6615)
gangj Aug 7, 2025
c7986ad
python3/usb_scan: Skip empty lines in usb-policy.conf, add more comments
last-genius Aug 6, 2025
0d281ff
CI: update python config (#6617)
last-genius Aug 7, 2025
3dd583a
CA-412983: HA doesn't keep trying to start best-effort VM
minglumlu Aug 7, 2025
1436b8f
python3/usb_scan: Skip empty lines in usb-policy.conf, add more comme…
last-genius Aug 8, 2025
9eb5f9f
Raise VIF limit from 7 to 16 by calculating `max_grant_frames` on dom…
last-genius Aug 11, 2025
ea89a26
Add Xapi_globs.ha_best_effort_max_retries to eliminate hard-coding
minglumlu Aug 11, 2025
c7db87d
Changed the order of operations so that the sources are stored before…
Jul 2, 2025
affb5fd
CA-413254: Sort and remove duplicate serialized types.
Aug 12, 2025
791e25d
CA-413254: Types `String` and `SecretString` were generating duplicat…
kc284 Aug 12, 2025
34bdb57
Optimize with List.compare_lengths
minglumlu Aug 13, 2025
3897cdb
message_forwarding: Log which operation is added/removed from blocked…
last-genius Aug 14, 2025
0f5a9f9
xe-cli: Allow floppy to be autocompleted
psafont Aug 14, 2025
48b9aa3
CA-415952: HA can not be enabled
liulinC Aug 14, 2025
9efbe9a
xe-cli: Allow floppy to be autocompleted (#6623)
last-genius Aug 15, 2025
8aadbd7
message_forwarding: Log which operation is added/removed from blocked…
last-genius Aug 15, 2025
1fbdaae
CA-415952: HA can not be enabled (#6625)
liulinC Aug 17, 2025
05e6317
xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf (#6586)
psafont Aug 20, 2025
420a690
Copy dependency libraries to the output folder. Build using the proje…
Aug 18, 2025
84f38cd
CP-308539 Added preprocessor conditions to compile with .NET 8
Aug 19, 2025
70de0c5
Updated language use. Removed redundant calls and initializers. Use P…
Aug 19, 2025
1b705ed
CP-308539 Replaced obsolete code.
Aug 19, 2025
383d45f
CP-308539 Use HttpClient for .NET as HttpWebRequest is obsolete.
Aug 19, 2025
04f8b87
CP-44752: propagate System.Diagnostics tracing information using W3C …
edwintorok Aug 19, 2025
c2f49ea
Action from CA-408836: Deprecate the method SaveChanges. It is a XenC…
Aug 20, 2025
4f8834b
libs/log: adapt backtrace test to pass on aarch64
psafont Aug 20, 2025
9203724
ocaml/util: delete module xapi_host_driver_helpers and tests
psafont Aug 19, 2025
2d17143
Fix tests that don't work on aarch64 (#6630)
psafont Aug 21, 2025
f5eb08d
CA-412983: HA doesn't keep trying to start best-effort VM (#6619)
minglumlu Aug 22, 2025
47f1300
Updated dependencies for PS 5.1.
Aug 22, 2025
a248a71
Support for .NET8 and Tracing information (#6628)
kc284 Aug 22, 2025
ea688ff
I forgot to initialize the Roles.
Aug 22, 2025
070b953
I forgot to initialize the Roles. (#6635)
kc284 Aug 22, 2025
722aa8f
ci: enable experimental ocaml workflow on aarch64
psafont Aug 18, 2025
d0392d1
ci: enable experimental ocaml workflow on aarch64 (#6631)
psafont Aug 27, 2025
c97250d
CP-308455 VM.sysprep if CD insert fails, remove ISO
Aug 19, 2025
59f2751
CP-308455 VM.sysprep if CD insert fails, remove ISO (#6632)
lindig Aug 27, 2025
8c5053a
CP-308455 VM.sysprep declare XML content as SecretString
Jul 1, 2025
4f80ccf
Restored type SecretString for sysprep's parameter unattend (#6641)
robhoes Aug 29, 2025
ddaf4ce
CP-308539: Updated certificate validation to support .NET 8.0 in Powe…
Aug 29, 2025
4870104
CP-308811: Add an option to limit the span depth in tracing
snwoods Jul 18, 2025
3876773
CP-309305: Split Spans.since into chunks for exporting
snwoods Aug 1, 2025
ec61f8e
Revert "xapi/nm: Send non-empty dns to networkd when using IPv6 autoc…
GabrielBuica Aug 29, 2025
1d83693
CA-416532: Revert #6586, overwrites /etc/resolve.conf (#6643)
GabrielBuica Sep 1, 2025
cc2f09e
CP-308539: Updated certificate validation to support .NET 8.0 in Powe…
edwintorok Sep 1, 2025
78df744
Use a forwarder so each component updates their depth and chunk size
snwoods Sep 1, 2025
a57d581
CA-416351: Slave shutdown timeout
BengangY Aug 29, 2025
4226002
rrd: Fix absolute rate calculations
last-genius Sep 2, 2025
31b8461
CP-309523: Make networkd_db utility return bridge MAC address
minglumlu Aug 22, 2025
c2c0422
CP-309523: Make networkd_db utility return bridge MAC address (#6637)
robhoes Sep 3, 2025
6c16a2f
rrd: Fix absolute rate calculations (#6646)
robhoes Sep 3, 2025
afe8e1b
xapi_vm_migrate: Fix reservations not being cleared on halted VMs
last-genius Sep 3, 2025
b657c62
CP-308863: Count vGPU migrations
minglumlu Aug 27, 2025
e343dfe
CA-416516: vm.slice/cgroup.procs write operation gets EBUSY
chunjiez Sep 5, 2025
8b43206
xapi_vm_migrate: Fix reservations not being cleared on halted VMs (#6…
last-genius Sep 5, 2025
ec8f3d6
CA-367765: remove reference to obsolete default URL
robhoes Sep 5, 2025
3fecb75
Remove obsolete test script
robhoes Sep 5, 2025
fb23194
CP-308863: Count vGPU migrations (#6640)
minglumlu Sep 8, 2025
cf5be62
host.disable: Add auto_enabled parameter for persistency
last-genius Sep 8, 2025
4412cea
CA-367765: remove reference to obsolete default URL and test script (…
robhoes Sep 8, 2025
a59f1c9
CA-416351: Slave shutdown timeout (#6645)
robhoes Sep 8, 2025
3cc9241
CA-416516: vm.slice/cgroup.procs write operation gets EBUSY (#6650)
BengangY Sep 9, 2025
fb83a6b
Simplify UTF-8 decoding
Sep 9, 2025
6aa075a
Adjust quality-gate.sh
last-genius Sep 9, 2025
89d78a5
Host.disable: add persistency flag (#6652)
last-genius Sep 9, 2025
9a968ba
xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf
psafont Jul 11, 2025
234aef7
XSA-474 fix: Simplify UTF-8 decoding (#6659)
robhoes Sep 9, 2025
f653367
CP-53479: Add xapi-ssh-monitor script and service
robhoes Sep 10, 2025
cfee0d8
CP-308800: Dynamically control ssh firewalld service in xapi-ssh-monitor
robhoes Sep 10, 2025
2bef63a
Add xapi-ssh-monitor script and service (#6661)
robhoes Sep 11, 2025
e3d4f34
CP-308811: Add an option to limit the span depth in tracing (#6607)
snwoods Sep 11, 2025
4d12701
xapi-idl/network: Remove code duplication for DNS persistence decisions
psafont Jul 11, 2025
ecad30d
Remove redundant check
GabrielBuica Sep 11, 2025
b92f0c4
xapi_pbd: use HA shared SR constraint violation when plugging and unp…
psafont Sep 12, 2025
bcfe798
xapi_pif: use HA shared network constraint violation when plugging an…
psafont Sep 12, 2025
b81aa1d
xapi_ha_vm_failover: remove superfluous debug message
psafont Sep 12, 2025
0010c74
Replace ha_operation_would_break_failover_plan with constraint errors…
psafont Sep 15, 2025
081e992
xapi/nm: Send non-empty dns to networkd when using IPv6 autoconf (#6664)
psafont Sep 16, 2025
9ff8313
xenopsd: Drop unused variables in domain.ml
last-genius Sep 16, 2025
8bb4635
xenopsd: Drop unused variables in `domain.ml` (#6670)
last-genius Sep 16, 2025
0980515
docs: Update add-function.md to fix example
cplaursen Sep 17, 2025
a1ea40a
docs: Update add-function.md to fix example (#6673)
robhoes Sep 17, 2025
b988528
ocaml: allow xapi to compile under OCaml 5.3
psafont Sep 18, 2025
a2bef4c
ocaml: allow xapi to compile under OCaml 5.3 (#6676)
psafont Sep 19, 2025
cb8fad4
XSI-1987 & CA-416462: Fix RPU host evacuation version check
GabrielBuica Sep 8, 2025
0e4ce01
CA-417390: No RRD metric for vGPU migration with local storage
minglumlu Sep 22, 2025
bdf06bc
ocaml: prepare formatting for ocamlformat 0.27.0
psafont Sep 19, 2025
1596ea9
git-blame-ignore-revs: ignore previous, formatting commit
psafont Sep 22, 2025
94fcd59
ocaml: prepare formatting for ocamlformat 0.27.0 (#6678)
psafont Sep 22, 2025
cad8578
XSI-1987 & CA-416462: Fix RPU host evacuation version check (#6655)
psafont Sep 22, 2025
39b166a
CA-417390: No RRD metric for vGPU migration with local storage (#6680)
minglumlu Sep 23, 2025
7af60c7
networkd: Remove usage of ovs-vlan-bug-workaround
cplaursen Sep 17, 2025
53d23bb
networkd: Remove has_vlan_accel from network_utils
cplaursen Sep 23, 2025
209d950
networkd: Remove usage of ovs-vlan-bug-workaround (#6684)
robhoes Sep 23, 2025
c93e957
Hugo docs: Add NUMA design docs
bernhardkaindl Feb 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ d6ab15362548b8fe270bd14d5153b8d94e1b15c0
b12cf444edea15da6274975e1b2ca6a7fce2a090
364c27f5d18ab9dd31825e67a93efabecad06823
d8b4de9076531dd13bdffa20cc10c72290a52356
bdf06bca7534fbc0c4fc3cee3408a51a22615226

# ocp-indent
d018d26d6acd4707a23288b327b49e44f732725e
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/1.249-lcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
python-test:
name: Python tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: read
strategy:
Expand All @@ -28,7 +28,7 @@ jobs:

ocaml-test:
name: Ocaml tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout code
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/codechecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
opam pin add -y dune-compiledb https://github.com/edwintorok/dune-compiledb/releases/download/0.6.0/dune-compiledb-0.6.0.tbz

- name: Trim dune cache
run: opam exec -- dune cache trim --size=2GiB
run: opam exec -- dune cache trim --size=2GiB

- name: Generate compile_commands.json
run: opam exec -- make compile_commands.json
Expand Down Expand Up @@ -73,7 +73,10 @@ jobs:
name: codechecker_sarif
path: codechecker.sarif

- name: Upload SARIF report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: codechecker.sarif
# TODO: reenable after fixing
# https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/
#
#- name: Upload SARIF report
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: codechecker.sarif
12 changes: 10 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,23 @@ jobs:
- name: Update Ubuntu repositories
run: sudo apt-get update

# We set DUNE_CACHE_STORAGE_MODE, it is required for dune cache to work inside opam for now,
# otherwise it gets EXDEV and considers it a cache miss
- name: Use ocaml
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }}
opam-repositories: |
xs-opam: ${{ steps.dotenv.outputs.repository }}
dune-cache: true
opam-pin: false
cache-prefix: v3-${{ steps.system-info.outputs.name }}-${{ steps.system-info.outputs.release }}
env:
DUNE_CACHE_STORAGE_MODE: copy

- name: Install dependencies
run: opam pin list --short | xargs opam install --deps-only -v
shell: bash
run: opam install . --deps-only -v

- name: Generate xapi-storage docs
run: |
Expand Down
112 changes: 19 additions & 93 deletions .github/workflows/generate-and-build-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ jobs:
shell: bash
run: opam exec -- make sdk

# sdk-ci runs some Go unit tests.
# This setting ensures that SDK date time
# tests are run on a machine that
# isn't using UTC
- name: Set Timezone to Tokyo for datetime tests
run: |
sudo timedatectl set-timezone Asia/Tokyo

- name: Run CI for SDKs
uses: ./.github/workflows/sdk-ci

- name: Store C SDK source
uses: actions/upload-artifact@v4
with:
Expand All @@ -60,7 +49,13 @@ jobs:
name: SDK_Source_PowerShell
path: _build/install/default/share/powershell/*

- name: Store Go SDK Artifacts
- name: Store Java SDK source
uses: actions/upload-artifact@v4
with:
name: SDK_Source_Java
path: _build/install/default/share/java/*

- name: Store Go SDK source
uses: actions/upload-artifact@v4
with:
name: SDK_Artifacts_Go
Expand All @@ -69,11 +64,16 @@ jobs:
!_build/install/default/share/go/dune
!_build/install/default/share/go/**/*_test.go

- name: Store Java SDK source
uses: actions/upload-artifact@v4
with:
name: SDK_Source_Java
path: _build/install/default/share/java/*
# sdk-ci runs some Go unit tests.
# This setting ensures that SDK date time
# tests are run on a machine that
# isn't using UTC
- name: Set Timezone to Tokyo for datetime tests
run: |
sudo timedatectl set-timezone Asia/Tokyo

- name: Run CI for SDKs
uses: ./.github/workflows/sdk-ci

- name: Trim dune cache
run: opam exec -- dune cache trim --size=2GiB
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- name: Build C# SDK
shell: pwsh
run: |
dotnet build source/src `
dotnet build source/src/XenServer.csproj `
--disable-build-servers `
--configuration Release `
-p:Version=${{ env.XAPI_VERSION_NUMBER }}-prerelease-unsigned `
Expand All @@ -200,86 +200,12 @@ jobs:
name: SDK_Binaries_CSharp
path: source/src/bin/Release/XenServer.NET.${{ env.XAPI_VERSION_NUMBER }}-prerelease-unsigned.nupkg

build-powershell-5x-sdk:
name: Build PowerShell 5.x SDK (.NET Framework 4.5)
needs: build-csharp-sdk
# PowerShell SDK for PowerShell 5.x needs to run on windows-2019 because
# windows-2022 doesn't contain .NET Framework 4.x dev tools
runs-on: windows-2019
permissions:
contents: read

steps:
- name: Strip 'v' prefix from xapi version
shell: pwsh
run: echo "XAPI_VERSION_NUMBER=$("${{ inputs.xapi_version }}".TrimStart('v'))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Retrieve PowerShell SDK source
uses: actions/download-artifact@v4
with:
name: SDK_Source_PowerShell
path: source/

- name: Retrieve C# SDK binaries
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_CSharp
path: csharp/

# Following needed for restoring packages
# when calling dotnet add package
- name: Set up dotnet CLI (.NET 6.0 and 8.0)
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6
8

- name: Setup project and dotnet CLI
shell: pwsh
run: |
dotnet nuget add source --name local ${{ github.workspace }}\csharp
dotnet add source/src package XenServer.NET --version ${{ env.XAPI_VERSION_NUMBER }}-prerelease-unsigned

- name: Build PowerShell SDK (.NET Framework 4.5)
shell: pwsh
run: |
dotnet build source/src/XenServerPowerShell.csproj `
--disable-build-servers `
--configuration Release `
-p:Version=${{ env.XAPI_VERSION_NUMBER }}-prerelease-unsigned `
-p:TargetFramework=net45 `
--verbosity=normal`

- name: Update SDK and PS versions in "XenServerPSModule.psd1"
shell: pwsh
run: |
(Get-Content "source\XenServerPSModule.psd1") -replace "@SDK_VERSION@","${{ env.XAPI_VERSION_NUMBER }}" | Set-Content -Path "source\XenServerPSModule.psd1"
(Get-Content "source\XenServerPSModule.psd1") -replace "@PS_VERSION@","5.0" | Set-Content -Path "source\XenServerPSModule.psd1"

- name: Move binaries to destination folder
shell: pwsh
run: |
New-Item -Path "." -Name "output" -ItemType "directory"
Copy-Item -Verbose "source\README_51.md" -Destination "output" -Force
Copy-Item -Verbose "source\LICENSE" -Destination "output" -Force
Copy-Item -Path "source\src\bin\Release\net45\*" -Include "*.dll" "output\"
Get-ChildItem -Path "source" |`
Where-Object { $_.Extension -eq ".ps1" -or $_.Extension -eq ".ps1xml" -or $_.Extension -eq ".psd1" -or $_.Extension -eq ".txt" } |`
ForEach-Object -Process { Copy-Item -Verbose $_.FullName -Destination "output" }

- name: Store PowerShell SDK (.NET Framework 4.5)
uses: actions/upload-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET45
path: output/**/*

build-powershell-7x-sdk:
name: Build PowerShell 7.x SDK
strategy:
fail-fast: false
matrix:
dotnet: ["6", "8"]
dotnet: ["8"]
needs: build-csharp-sdk
runs-on: windows-2022
permissions:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,25 @@ concurrency: # On new push, cancel old workflows from the same PR, branch or tag
jobs:
ocaml-tests:
name: Run OCaml tests
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
runs-on: ["ubuntu-22.04"]
experimental: [false]
include:
- runs-on: "ubuntu-22.04-arm"
experimental: true

continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.runs-on }}
permissions:
contents: read
env:
# Ensure you also update test-sdk-builds
# when changing this value, to keep builds
# consistent
XAPI_VERSION: "v0.0.0"

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: pre-commit/action@v3.0.1
name: Run pre-commit checks (no spaces at end of lines, etc)
with:
extra_args: --all-files --verbose --hook-stage commit
extra_args: --all-files --verbose --hook-stage pre-commit
env:
SKIP: no-commit-to-branch

Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,10 @@ jobs:
name: SDK_Binaries_CSharp
path: dist/

- name: Retrieve PowerShell 5.x SDK distribution artifacts
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET45
path: sdk_powershell_5x/

- name: Retrieve PowerShell 7.x SDK distribution artifacts
uses: actions/download-artifact@v4
with:
name: SDK_Binaries_XenServerPowerShell_NET6
name: SDK_Binaries_XenServerPowerShell_NET8
path: sdk_powershell_7x/

- name: Package C SDK artifacts for deployment
Expand All @@ -104,10 +98,6 @@ jobs:
rm -rf libxenserver/usr/local/lib/
tar -zcvf libxenserver-prerelease.src.tar.gz -C ./libxenserver/usr/local .

- name: Zip PowerShell 5.x SDK artifacts for deployment
shell: bash
run: zip PowerShell-SDK-5.x-prerelease-unsigned.zip ./sdk_powershell_5x -r

- name: Zip PowerShell 7.x SDK artifacts for deployment
shell: bash
run: zip PowerShell-SDK-7.x-prerelease-unsigned.zip ./sdk_powershell_7x -r
Expand All @@ -120,7 +110,6 @@ jobs:
shell: bash
run: |
gh release create ${{ github.ref_name }} --repo ${{ github.repository }} --generate-notes dist/* \
PowerShell-SDK-5.x-prerelease-unsigned.zip \
PowerShell-SDK-7.x-prerelease-unsigned.zip \
Go-SDK-prerelease-unsigned.zip \
libxenserver-prerelease.tar.gz libxenserver-prerelease.src.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/setup-xapi-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
shell: bash
run: |
mkdir -p /opt/xensource/sm
wget -O /opt/xensource/sm/XE_SR_ERRORCODES.xml https://raw.githubusercontent.com/xapi-project/sm/master/drivers/XE_SR_ERRORCODES.xml
wget -O /opt/xensource/sm/XE_SR_ERRORCODES.xml https://raw.githubusercontent.com/xapi-project/sm/master/libs/sm/core/XE_SR_ERRORCODES.xml

- name: Load environment file
id: dotenv
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ _coverage/
*.install
*.swp
compile_flags.txt
_opam

# tests
xapi-db.xml
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
## For manually executing the pre-push hook:
# pre-commit run -av --hook-stage pre-push
#
default_stages: [commit, push]
default_stages: [pre-commit, pre-push]
default_language_version:
python: python3.11
repos:
Expand Down Expand Up @@ -68,7 +68,7 @@ repos:
entry: env PYTHONDEVMODE=yes sh -c 'coverage run && coverage xml &&
coverage html && coverage report &&
diff-cover --ignore-whitespace --compare-branch=origin/master
--show-uncovered --html-report .git/coverage-diff.html
--show-uncovered --format html:.git/coverage-diff.html
--fail-under 50 .git/coverage3.11.xml'
require_serial: true
pass_filenames: false
Expand Down Expand Up @@ -108,7 +108,7 @@ repos:
hooks:
- id: pylint
files: python3/
stages: [push]
stages: [pre-push]
name: check that changes to python3 tree pass pylint
entry: diff-quality --violations=pylint
--ignore-whitespace --compare-branch=origin/master
Expand All @@ -134,7 +134,7 @@ repos:
entry: python3 pytype_reporter.py
pass_filenames: false
types: [python]
stages: [push]
stages: [pre-push]
verbose: true
# This hook runs locally only when Python files change:
language: python
Expand Down
Loading