qemu-img info échouait (« Failed to get shared write lock ») sur une VM running car libvirt tient le lock d'écriture : la taille virtuelle lue tombait à 0.0 G, et « -10G » donnait alors 0-10 = -10 → « Taille invalide ». - Ajout de -U (--force-share) aux deux appels qemu-img info (affichage + _qemu_disk_virtual_bytes) : lecture seule sûre même VM allumée. - Garde-fou : si la taille reste illisible (0), on abandonne avec un message clair au lieu de calculer une cible négative. Le redimensionnement lui-même était déjà correct (virsh blockresize à chaud si running, qemu-img resize si éteinte) — pas besoin d'éteindre la VM pour AGRANDIR. Validé : lecture -U renvoie 30.0 G sur une VM running. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database_manager.py | ||
| kdbx_manager.py | ||
| logo_ascii.txt | ||
| qemu_install_monitor.py | ||
| README.base.md | ||
| README.fr.md | ||
| README.md | ||
| source_todo.sh | ||
| todo.json | ||
| todo.py | ||
| todo_example.json | ||
| todo_file_browser.py | ||
| todo_i18n.py | ||
| todo_telemetry.py | ||
| todo_upgrade.py | ||
| version_manager.py | ||
TODO is an assistant robot to use ERPLibre
Execute it with ./script/todo/todo.py or make todo.
For a new project, copy todo_example.json to private/todo/todo_override.json | private/todo/todo_override_private.json and edit it.