qemu-server/PVE/CLI
Fiona Ebner e4cbea4436 import: add source size parameter to do_import()
The file_size_info() will return the size of the image based on
guessing the format. When importing via API, the correct size is
already known, so it's better to pass it in. The root-only 'qm'
commands for disk import and OVF import will still use auto-detection
for backwards compatibility. It might make sense to be able to
explicitly specify the format there too to get the correct size in all
cases.

New callers should detect the size according to the appropriate format
first.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2024-12-09 09:07:17 +01:00
..
Makefile convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
qm.pm import: add source size parameter to do_import() 2024-12-09 09:07:17 +01:00
qmrestore.pm qmrestore: improve description of bwlimit parameter 2023-06-06 17:56:34 +02:00