Skip to content

Commit 07d6d0b

Browse files
Sync with upstream
1 parent 2a985ec commit 07d6d0b

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,5 +705,8 @@ return.
705705
The reference documentation of the API is available
706706
http://ovirt.github.io/ovirt-engine-api-model[here].
707707

708+
The reference documentation of the SDK is available
709+
http://ovirt.github.io/ovirt-engine-sdk[here].
710+
708711
There is a collection of examples that show how to use the SDK
709712
https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples[here].

lib/ovirtsdk4/services.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7119,7 +7119,7 @@ def add(
71197119
----
71207120
POST /ovirt-engine/api/vms/345/diskattachments
71217121
----
7122-
IMPORTANT: The server accepts requests that don't contain the `active` attribute, but the effect is
7122+
IMPORTANT: The server accepts requests that do not contain the `active` attribute, but the effect is
71237123
undefined. In some cases the disk will be automatically activated and in other cases it won't. To
71247124
avoid issues it is strongly recommended to always include the `active` attribute with the desired
71257125
value.
@@ -7705,7 +7705,7 @@ def add(
77057705
When creating a new floating image xref:types-disk[Disk], the API requires the `storage_domain`, `provisioned_size`
77067706
and `format` attributes.
77077707
Note that block storage domains (i.e. storage domains with the xref:types-storage_type[storage type] of iSCSI or
7708-
FCP) don't support the combination of the raw `format` with `sparse=true`, so `sparse=false` must be stated
7708+
FCP) do not support the combination of the raw `format` with `sparse=true`, so `sparse=false` must be stated
77097709
explicitly.
77107710
To create a new floating image disk with specified `provisioned_size`, `format` and `name` on a storage domain
77117711
with an id `123` and enabled for incremental backup, send a request as follows:
@@ -34682,7 +34682,7 @@ def update(
3468234682
</cdrom>
3468334683
----
3468434684
By default the above operations change permanently the disk that will be visible to the virtual machine
34685-
after the next boot, but they don't have any effect on the currently running virtual machine. If you want
34685+
after the next boot, but they do not have any effect on the currently running virtual machine. If you want
3468634686
to change the disk that is visible to the current running virtual machine, add the `current=true` parameter.
3468734687
For example, to eject the current disk send a request like this:
3468834688
[source]
@@ -39567,6 +39567,9 @@ def convert(
3956739567
</disk>
3956839568
</action>
3956939569
----
39570+
Note: In order to sparsify a disk, two conversions might be needed if the disk is on a Block Storage Domain.
39571+
For example: If a disk is RAW, converting it to QCOW will result in a larger disk. In order to reduce the size,
39572+
it is possible to convert the disk again to QCOW and keep the same allocation policy.
3957039573

3957139574

3957239575
This method supports the following parameters:

lib/ovirtsdk4/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25342,6 +25342,7 @@ def __str__(self):
2534225342
@unique
2534325343
class Architecture(Enum):
2534425344
AARCH64 = 'aarch64'
25345+
LOONGARCH64 = 'loongarch64'
2534525346
PPC64 = 'ppc64'
2534625347
S390X = 's390x'
2534725348
UNDEFINED = 'undefined'

0 commit comments

Comments
 (0)