mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
block/qcow2: extend qemu-img amend interface with crypto options
Now that we have all the infrastructure in place, wire it in the qcow2 driver and expose this to the user. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200608094030.670121-9-mlevitsk@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
bbfdae91fb
commit
90766d9db9
2 changed files with 107 additions and 9 deletions
|
@ -645,6 +645,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -656,6 +661,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -667,6 +677,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -678,6 +693,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -689,6 +709,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -700,6 +725,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -711,6 +741,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -722,6 +757,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
@ -750,6 +790,11 @@ Amend options for 'qcow2':
|
|||
compat=<str> - Compatibility level (v2 [0.10] or v3 [1.1])
|
||||
data_file=<str> - File name of an external data file
|
||||
data_file_raw=<bool (on/off)> - The external data file must stay valid as a raw image
|
||||
encrypt.iter-time=<num> - Time to spend in PBKDF in milliseconds
|
||||
encrypt.keyslot=<num> - Select a single keyslot to modify explicitly
|
||||
encrypt.new-secret=<str> - New secret to set in the matching keyslots. Empty string to erase
|
||||
encrypt.old-secret=<str> - Select all keyslots that match this password
|
||||
encrypt.state=<str> - Select new state of affected keyslots (active/inactive)
|
||||
lazy_refcounts=<bool (on/off)> - Postpone refcount updates
|
||||
refcount_bits=<num> - Width of a reference count entry in bits
|
||||
size=<size> - Virtual disk size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue