-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: berrange/libvirt-java
base: master
head repository: libvirt/libvirt-java
compare: master
- 14 commits
- 43 files changed
- 5 contributors
Commits on Nov 18, 2024
-
ci: refresh with 'lcitool manifest'
Notable changes * AlmaLinux 8 / CentOS Stream 8 replaced with 9 * Fedora 38 dropped, 40 added * Ubuntu 20.04 dropped, 24.04 added * Debian 11 dropped, 12 added Signed-off-by: Daniel P. Berrangé <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ebcb567 - Browse repository at this point
Copy the full SHA ebcb567View commit details
Commits on Aug 11, 2025
-
... so that additional flags can be passed to Domain.migrateToURI. Fixes #8 Signed-off-by: Takashi Kajinami <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1576ac9 - Browse repository at this point
Copy the full SHA 1576ac9View commit details
Commits on Aug 21, 2025
-
Fix missing Deprecated annotation
Signed-off-by: Takashi Kajinami <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8301e98 - Browse repository at this point
Copy the full SHA 8301e98View commit details -
This exposes virDomainGetCPUStats API so that cpu stats, along with memory stats, can be obtained. Signed-off-by: Takashi Kajinami <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5b956d - Browse repository at this point
Copy the full SHA f5b956dView commit details -
Signed-off-by: Takashi Kajinami <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7305cef - Browse repository at this point
Copy the full SHA 7305cefView commit details
Commits on Aug 31, 2025
-
Fix memory leak in Connect.listAllDomains
free was missing for the pointer returned in domains by virConnectListAllDomains, so this has been fixed. cf. https://libvirt.org/html/libvirt-libvirt-domain.html#virConnectListAllDomains Signed-off-by: Mitsuru Kariya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dda928e - Browse repository at this point
Copy the full SHA dda928eView commit details
Commits on Sep 1, 2025
-
Fix doc: Suppress warning - Tag @see: missing final '>'
Fix a typo in Javadoc. When running autobuild.sh it raised a warning indicating missing final '>' in @see tag. Signed-off-by: Francisco Manuel Garcia Botella <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e022ed1 - Browse repository at this point
Copy the full SHA e022ed1View commit details
Commits on Sep 7, 2025
-
Although virConnCopyLastError and virCopyLastError are provided, using them requires freeing the string memory area with virResetError. Therefore, add virResetError. Also fix mistakes in the Javadoc "missig api in 0.1.0" list: - virConnCopyLastError is provided - virFreeError is not missing in 0.1.0 (it is listed as missing in 0.6.1) Signed-off-by: Mitsuru Kariya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c45808 - Browse repository at this point
Copy the full SHA 1c45808View commit details
Commits on Sep 29, 2025
-
Expose virtDomainGetJobStats . This is useful especially when we want to query jobs actually running. Co-Authored-By: Mitsuru Kariya <[email protected]> Signed-off-by: Takashi Kajinami <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f4e61b - Browse repository at this point
Copy the full SHA 9f4e61bView commit details
Commits on Sep 30, 2025
-
Fix the following issues in Domain.getJobStats: - Fix an exception that occurred when the virTypedParameter[] had zero elements. virDomainGetJobStats returns successfully with *params == NULL and *nparams == 0 when *type == VIR_DOMAIN_JOB_NONE. However, calling Structure.toArray(n) with n == 0 causes an ArrayIndexOutOfBoundsException. This is avoided by directly returning an empty array when *nparams == 0. - Fix the issue where the first element of virTypedParameter[] was not being read. The Structure constructor does not automatically read fields. This is fixed by explicitly calling the virTypedParameter.read() method for the first element. Note: Structure.toArray(n) automatically reads fields (i.e., calls the virTypedParameter.read() method) for all elements except the first. - Fix the issue where the value was not being read when virTypedParameter was a String. Union does not perform pointer-to-value reads (such as char* -> String) unless it is the active element. This is fixed by explicitly reading the String when virTypedParameter.type == VIR_TYPED_STRING. - Fix a potential crash in virTypedParamsFree when handling String parameters. When passing a Structure received from a native function as an argument to another native function: - String fields directly embedded in the Structure are not updated in native memory if their values haven't changed. - However, Unions embedded in the Structure always update native memory for the active element, even if the value hasn't changed. Therefore, if the active element of the Union is a String, JNA allocates new memory for the string and overwrites the received char* pointer. This not only causes the original char* pointer to be leaked, but also leads to double-free issues: once by virTypedParamsFree and again by GC on the JNA-allocated memory. This is avoided by changing the argument type of virTypedParamsFree from virTypedParameter[] to Pointer. Additionally, extract the conversion from a pointer to a virTypedParameter array to a TypedParameter array into a static method of TypedParameter, as there are other functions that also receive virTypedParameter arrays. Signed-off-by: Mitsuru Kariya <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 48dfbc1 - Browse repository at this point
Copy the full SHA 48dfbc1View commit details
Commits on Oct 14, 2025
-
Fix incorrect argument type in virDomainMigrate3
The 5th argument `flags` of `virDomainMigrate3` is `unsigned int`, not `unsigned long`. Therefore, the Java binding should use `int` instead of `NativeLong`. To maintain backward compatibility, the version taking `NativeLong` as an argument has been deprecated, and a new version taking `int` has been added. Although not fully verified, it is likely that no practical issue occurs on supported platforms because: - On 32-bit platforms, `long` and `int` are the same size. - On 64-bit platforms, the 5th argument is passed via a register. Signed-off-by: Mitsuru Kariya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c945e7c - Browse repository at this point
Copy the full SHA c945e7cView commit details
Commits on Oct 15, 2025
-
Created the bindings to manage the domain checkpoints of a domain. Added tests to check the functionality of these bindings. Signed-off-by: Francisco Manuel Garcia Botella <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2658a4 - Browse repository at this point
Copy the full SHA d2658a4View commit details -
Add DomainBackupBegin and DomainGetJobStats bindings
Added tests to these bindings. Signed-off-by: Francisco Manuel Garcia Botella <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 502125b - Browse repository at this point
Copy the full SHA 502125bView commit details
Commits on Dec 8, 2025
-
ci: refresh with latest 'lcitool manifest'
Removed old OSes: - Fedora 39, Fedora 40 Added new OSes: - AlmaLinux 10 - CentOS Stream 10 - Debian 13 - Fedora 42, Fedora 43 Signed-off-by: Pavel Hrdina <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 2ceed90 - Browse repository at this point
Copy the full SHA 2ceed90View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master