mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-19 21:22:54 +00:00
![]() 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> |
||
---|---|---|
.. | ||
Makefile | ||
qm.pm | ||
qmrestore.pm |