# changelog

author: Benjamin Reis <benjamin.reis@vates.tech> - 24.19.2-1.1
changelog:
  - Rebase on 24.19.2-1
  - Drop xapi-24.11.0-sb-state-api.XCP-ng.patch
  - Drop xapi-24.11.0-don-t-generate-link-local-address-for-interfaces.patch
  - Drop xapi-23.31.0-fix-ipv6-import.XCP-ng.patch
  - *** Upstream changelog ***
  - * Tue Jul 16 2024 Ming Lu <ming.lu@cloud.com> - 24.19.2-1
  - - CA-395626: Fix (server status report generation report)
  - * Tue Jul 09 2024 Ming Lu <ming.lu@cloud.com> - 24.19.1-1
  - - Fixes: 99c43569a0 ("Transition from exception-raising Unix.getenv to Sys.getenv_opt with")
  - * Tue Jul 09 2024 Ming Lu <ming.lu@cloud.com> - 24.19.0-1
  - - CP-47304: [Toolstack] - Add data model for anti-affinity group
  - - CP-47655: [Toolstack] - Associate/disassociate VM to/from anti-affinity group
  - - CA-391880: Update related field 'groups' of VM when destroying VM group.
  - - CP-47302: VM start with anti-affinity
  - - CA-392177: Keep current group after reverting from snapshot
  - - CP-47656 Anti-affinity feature generate alert
  - - CP-48570: Load recommendations from config file when Xapi starts
  - - CP-48011: Xapi Support anti-affinity feature flag
  - - CA-393421: Special VMs cannot be added to VM groups
  - - CP-48625: Code refactoring
  - - opam: add psq to xapi dependencies
  - - CP-49665: Anti-affinity support for host evacuation
  - - CP-48752: Add UT for host evacuation with anti-affinity support
  - - CP-49953: Remove parse_uri, switch to using Uri module instead
  - - doc: remaining API docs
  - - doc: add XenAPI release info
  - - Printf.kprintf is deprecated, replace with Printf.ksprintf
  - - Fix misplaced inline attributes
  - - CP-50050 track CBT status for SMAPIv3 SRs
  - - CP-49953: Remove parse_uri, switch to using Uri module instead
  - - CI: Complete parallel Coveralls uploads: Finish when done
  - - CP-49116: Replace fingerprint in certificate DB with sha256 and sha1
  - - CA-392887: set_tls_config immediately after enabling clustering
  - - CI: Update endcover step to v2 to fix CI (#5763)
  - - CA-386173: Update the message of WLB authentication issue
  - - Revert "CP-49953: Remove parse_uri, switch to using Uri module instead"
  - - Fix a bug noticed by a quicktest run
  - - Eliminate unnecessary usage of List.length to check for empty lists
  - - Transition from exception-raising Unix.getenv to Sys.getenv_opt with
  - - Replace Hashtbl.find with Hashtbl.find_opt in trivial cases
  - - Refactor Hashtbl.find out of resources/table.ml
  - - Refactor Hashtbl.find out of xenopsd/xc/readln.ml
  - - Add a gate for Hashbtl.find
  - - CP-50135: Bump datamodel_lifecycle for anti-affinity
  - - IH-621: Add IPMI host power on support and remove DRAC
  - - opam: generate xapi-forkexecd with dune
  - - opam: remove unversioned opam dependencies
  - - opam: generate xapi-networkd using dune
  - - fe_test: print stacktrace on unit test failure
  - - fix(fe_test): make it compatible with fd-send-recv 2.0.2
  - - Fix indentation in C code
  - * Mon Jul 01 2024 Ming Lu <ming.lu@cloud.com> - 24.18.0-1
  - - doc/README.md: Improve the Hugo Quick start guide for an easier start
  - - .codecov.yml: Remove scripts (Codecov is confused, we move scripts/ to python3/)
  - - CA-394444: Update task cancellation in `message_forwarding.ml`
  - - Hugo docs: Add dark mode support, theme variant selector and print
  - - Don't generate link-local address for interfaces
  - - Make `cluster-stack-version` show up in the CLI
  - - Update datamodel lifecycle
  - - Removed headers from the templates.
  - - Renamed files and reordered table of contents.
  - - IH-583 Create standalone implementations of systemd functions
  - - Fix failing builds by attaching package to the cram test
  - - CA-394883: fix race condition allocating task ids
  - - CA-394882: avoid error on tasks that are not ours
  - - CA-381119: use JsonRPC V2 for error replies
  - - CA-394169: Allow task to have permissions on itself
  - - CI: use new version of codecov action
  - - Merge .codecov.yml from feature/py3 to drop scripts checks
  - - CP-50055 Add Go SDK as a release package in XAPI
  - - CI: codecov is unstable, use coveralls
  - - CA-394921: Ignore unkown properties during Java SDK deserialisation
  - - CP-49446: expose SR health values to Python
  - - opam: record correct authorship for stdext packages
  - - IH-628: add new package clock for timekeeping
  - * Tue Jun 18 2024 Ming Lu <ming.lu@cloud.com> - 24.17.0-1
  - - CP-48666: initialize a skeleton project for Go SDK
  - - CP-47347: Add mustache template for Enum Types
  - - CP-47351: generate Record and Ref Type Golang code for all classes
  - - CP-47348: generate Golang code of Enum Type for all classes
  - - CP-47362: generate file headers
  - - CP-48666: collect api errors
  - - CP-47364: generate api messages and errors of Golang code
  - - refactor: create an `Alcotest.testable` to check structure of generated JSON is wanted
  - - refactor: move `objects` and `session_id` from `Gen_go_helper` to `CommonFunctions`
  - - CP-48666: use dune rule to get the destination dir for the generated files
  - - CP-48666: generate all enums to a file
  - - refactor the way of getting enums
  - - CP-48666: refactor the JSON schema checking
  - - CP-48666: refactor `render_template` with an optional newline parameter
  - - CP-47361: generate mustache template for deserialize and serialize functions
  - - CP-47358: Generate convert functions Go code
  - - CP-48855: update templates (APIErrors, APIMessages, Record)
  - - CP-48855: adjust generated json for templates changed
  - - CP-48855: add templates for option and APIVersions
  - - CP-48855: render options
  - - CP-47355, CP-47360: generate mustache template for xapi data module class messages
  - - CP-47354: Generate messages functions Golang code for all classes
  - - CP-47354: add unit tests for `func_name_suffix` and `string_of_ty_with_enums`
  - - CP-48855: render APIVersion
  - - CP-48855: fix go lint var-naming warnings
  - - fix `StringOfTyWithEnumsTest` after merged
  - - CP-48855: it should be only one empty line at end of Go file
  - - CP-47356: expose `published_release_for_param` and `compare_versions` for usage of other modules
  - - CP-47358: Add unit tests for generating convert functions
  - - CP-47355, CP-47360: generate mustache template for xapi data module class messages
  - - CP-47354: Generate messages functions Golang code for all classes
  - - CP-47354: add unit tests for `func_name_suffix` and `string_of_ty_with_enums`
  - - CP-48855: update templates (APIErrors, APIMessages, Record)
  - - CP-48855: adjust generated json for templates changed
  - - CP-48855: add templates for option and APIVersions
  - - CP-48855: render options
  - - CP-48855: render APIVersion
  - - CP-48855: remove go lint var-naming warnings
  - - CP-47356: Support backwards capability for Go SDK
  - - CP-47361: generate mustache template for deserialize and serialize functions
  - - CP-47358: Generate convert functions Go code
  - - CP-47358: Add unit tests for generating convert functions
  - - CP-47354: Generate messages functions Golang code for all classes
  - - CP-47354: add unit tests for `func_name_suffix` and `string_of_ty_with_enums`
  - - CP-48855: render options
  - - CP-48855: render APIVersion
  - - CP-47357: Add a Go JSON-RPC client file
  - - CP-47357: fix review issues
  - - CP-47367 Add type checking for generated SDK Go files
  - - CP-49350: fix variable naming in Go SDK
  - - Set up Github Action for go SDK component test (#5588)
  - - CA-391381: Avoid errors for Partial Callables in observer.py
  - - xapi-tracing: bind its test to the package
  - - opam: generate xapi-tracing with dune
  - - opam: generate xapi-tracing-export with dune
  - - opam: generate rrdd-plugin with dune
  - - opam: generate xapi-rrd-transport-utils with dune
  - - opam: generate xapi-rrdd with dune
  - - opam: drop xapi-rrd-transport
  - - opam: drop xen-api-sdk
  - - Revert "CP-47660 define anti-affinity feature"
  - - Remove CVM and relevant test cases (#5655)
  - - opam: Fix metadata
  - - opam: de-templatise message-switch-core
  - - ocaml: remove unused bindings
  - - dune: enforce version +3
  - - Add `VM.set_uefi_mode` API call
  - - Go SDK: Misc fixes for on-going component tests (#5661)
  - - Add `VM.get_secureboot_readiness` API call
  - - Add `Pool.get_guest_secureboot_readiness` API call
  - - CP-49446: Update SR health to include new constructors
  - - doc: copy design documents from xapi-project.github.io
  - - doc: add info table to design docs
  - - doc: style design doc index
  - - CP-47928: Add component test for Go SDK
  - - CP-49647 use URI for create_misc
  - - CP-49647 use URI for dbsync_master
  - - CP-49647 use URI for export.ml
  - - CP-49647 use URI for import.ml
  - - CP-49647 use URI for importexport.ml
  - - CP-49647 use URI for rrd_proxy.ml
  - - CP-49647 use URI for sm_fs_ops.ml
  - - CP-49647 use URI for xapi_message.ml
  - - CP-49647 use URI for xapi_xenops.ml
  - - CP-49647 use URI for xapi_vm_migrate.ml
  - - CP-49647 use URI for xapi_host.ml
  - - CP-49647 use URI for cli_util.ml
  - - CP-49647 use URI for http.ml
  - - CP-49647 use URI for cli_operations
  - - CP-45235: Support for `xe-cli` to transmit `traceparent`
  - - doc: add design review links (historical)
  - - doc: RDP design: fix list nesting
  - - CP-48995: Instrument `XenAPI.py` to submit traceparent
  - - Update datamodel_lifecycle.ml
  - - CP-49768: Update GO SDK README file (#5671)
  - - CP-49249: Implement SMAPIv3 CBT Forwarding
  - - CA-393866: Add support for Infinity in Java SDK parser
  - - CA-393507: Default cluster_stack value
  - - Remove fix_firewall.sh
  - - CA-393119: Don't use HTTPS for localhost migrations
  - - CP-49828: Remove iovirt script
  - - CP-49129: Add unit test for parallel parsing.
  - - CP-49129: Make unit test run on alcotest.
  - - CP-49129: Replace `ocamlyacc` with `menhir`
  - - CP-49129: Drop global lock around sexpr parsing
  - - CP-49045: replace all uses of ocamlyacc with menhir which is thread-safe
  - - CP-49129: Update `quality-gate.sh` for `ocamlyacc`
  - - Link just qcheck-core, not qcheck
  - - Define qcheck-core dependency in opam packages
  - - Makefile: fix compatibility with the dash shell
  - - CP-49858: Fix phrasing in readme
  - - CP-49858: Add licence text on top of Go source files
  - - CP-49858: Unit test: licence template variable
  - - CP-49858: Remove template variables 'first' and 'is_session_id'
  - - CP-49858: Unit test: Update for changes on template variables
  - - rpm: remove `sexprpp` from public_name
  - - sexpr: add tests to the package
  - - xapi-rrdd: change tests to reduce amount of logs produced
  - - rrd-transport: generate opam metadata using dune
  - - http-lib: generate opam metadata using dune
  - - wsproxy: test with alcotest instead of ounit
  - - vhd-format-lwt: run tests using alcotest
  - - xen-api-client: run tests with alcotest
  - - xapi-sdk: add empty packge to be able to run tests for it
  - - CI: pin packages
  - - CP-49647 use URI for newcli.ml
  - - CP-49677 implement Http.Url using URI
  - - Update quality-gate.sh
  - * Mon Jun 10 2024 Pau Ruiz Safont <pau.ruizsafont@cloud.com> - 24.16.0-3
  - - Bump release and rebuild
  - - Remove vm_anti_affinity tag and dependency on m2crypto


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 24.19.2-1.3
changelog:
  - Add xapi-24.19.2-update-new-fingerprint-fields-on-DB-upgrade.backport.patch, backported from XAPI project
  - Add xapi-24.19.2-more-fingerprint-field-updates-fixes.XCP-ng.patch to complement the fix
  - Fixes an issue where new fingerprint fields are not populated, which under
    some circumstances makes pool join fail.


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.19-8.0.22.1
changelog:
  - Update to 4.19.19-8.0.22
  - *** Upstream changelog ***
  - * Fri Dec 09 2022 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.22
  - - Fix booting PVH dom0 with UEFI
  - - Fix nvmefc-boot-connections.service.
  - - CA-364458 / XSA-396: PV frontends vulnerable to attack by backends
  - - CA-368126 / XSA-403: Linux disk/nic frontends data leaks
  - - CA-369758 / XSA-423: Guest triggerable NIC reset/abort/crash via netback
  - - CA-373544 / XSA-424: Guests can trigger deadlock in netback


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.19-8.0.29.1
changelog:
  - Update to 4.19.19-8.0.29
  - *** Upstream changelog ***
  - * Fri Aug 11 2023 Stephen Cheng <stephen.cheng@citrix.com> - 4.19.19-8.0.29
  - - CP-41018: Backport auxiliary bus support
  - * Wed Aug 09 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.28
  - - CP-43107: backport NVMe/FC patches
  - * Mon Jul 31 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.27
  - - CA-379289: Add a fix for XSA-432
  - * Thu Apr 13 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.26
  - - CA-371727: Fix evaluation of _PDC ACPI method on dom0
  - - CA-376418: Backport fixes to XSA-423
  - * Thu Mar 16 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.25
  - - CP-42067: add an ELFNOTE about PV-IOMMU support
  - * Mon Mar 06 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.24
  - - CA-375558: Fix nbd ref counting bug
  - - CA-375244: Ensure DLM reconnects after network outage
  - * Mon Feb 13 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.23
  - - CP-41370: Remove Citrix logo
  - - Strip stale config.ini metadata


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.19-8.0.32.1
changelog:
  - Update to 4.19.19-8.0.32
  - *** Upstream changelog ***
  - * Wed Oct 18 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.32
  - - CA-384066: fix netback vifs queue length
  - - Declare setup and dependencies for building live patches
  - * Fri Sep 29 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.31
  - - CA-383077 / XSI-1502: Backport SUNRPC-Always-drop-the-XPRT_LOCK-on-XPRT_CLOSE_WAIT
  - - CA-383484: Backport fix for XSA-441
  - * Thu Sep 07 2023 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.30
  - - CA-381221: Make NFS timeouts more consistent


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.19-8.0.33.1
changelog:
  - Sync with 4.19.19-8.0.33
  - *** Upstream changelog ***
  - * Thu Jan 11 2024 Alejandro Vallejo <alejandro.vallejo@cloud.com> - 4.19.19-8.0.33
  - - CA-387401: Fix for XSA-448


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.19-8.0.34.1
changelog:
  - Sync with 4.19.19-8.0.34
  - *** Upstream changelog ***
  - * Thu Feb 29 2024 Chunjie Zhu <chunjie.zhu@cloud.com> - 4.19.19-8.0.34
  - - CA-387199: Fix for XSI-1566


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.19-8.0.36.1
changelog:
  - Sync with 4.19.19-8.0.36
  - *** Upstream changelog ***
  - * Mon Jul 15 2024 Fouad Hilly <fouad.hilly@cloud.com> - 4.19.19-8.0.36
  - - New tag due to a wrong build for 4.19.19-8.0.35
  - * Wed Jul 10 2024 Fouad Hilly <fouad.hilly@cloud.com> - 4.19.19-8.0.35
  - - CA-394994  backport fix agaw for a supported 48 bit guest address width
  - - Make sure the kernel configuration is up to date
  - - CP-40289: kernel-devel: Add a BPF Type Format (BTF) info file for libbpf
  - - CP-48280: Disable Intel Powerclamp driver


author: Thierry Escande <thierry.escande@vates.tech> - 4.19.19-8.0.37.1
changelog:
  - Sync with 4.19.19-8.0.37
  - *** Upstream changelog ***
  - * Thu Aug 08 2024 Ross Lagerwall <ross.lagerwall@citrix.com> - 4.19.19-8.0.37
  - - CA-365333: Fix initrd decompression bug
  - - CA-395816: Enable config option to fix incorrect firmware fan control


author: Samuel Verschelde <stormi-xcp@ylix.fr> - 4.19.227-4
changelog:
  - Don't provide kernel Provides
  - We don't want kernel-alt to be pulled as build deps instead of main kernel packages


author: Thierry Escande <thierry.escande@vates.tech> - 4.19.316+1-1
changelog:
  - Import kernel source v4.19.316
  - Rebase and rework needed patches from main kernel repo
  - Sync spec file with main kernel repo v4.19.19-8.0.34.1
  - Fix Requires on python3-xcp-libs


author: Thierry Escande <thierry.escande@vates.tech> - 4.19.320+1-1
changelog:
  - Sync spec file with main kernel repo v4.19.19-8.0.36.1
  - Import new patches from main kernel repo (already merged upstream)
  - Update kernel sources to v4.19.320


author: Thierry Escande <thierry.escande@vates.tech> - 4.19.320+1-2
changelog:
  - Disable PERF_EVENTS_INTEL_RAPL and INTEL_POWERCLAMP in kernel config as done
    in the main kernel for performance reasons


author: Thierry Escande <thierry.escande@vates.tech> - 2.0.15-20.1
changelog:
  - Backport patch removing kernel_version(), fixing bug for kernel with
    patchlevel greater than 255


