summary refs log tree commit diff stats
path: root/results/classifier/deepseek-2-tmp/output/files/1592590
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:34:26 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:35:44 +0000
commit25f8033d556aa17afaea4a5196ea7a69fe248320 (patch)
tree0f056db167683be54ea1e5e72d29d6069af55e7d /results/classifier/deepseek-2-tmp/output/files/1592590
parent8e6da29e4ee5fc14bc1cc816a24f21271f14090d (diff)
downloadqemu-analysis-25f8033d556aa17afaea4a5196ea7a69fe248320.tar.gz
qemu-analysis-25f8033d556aa17afaea4a5196ea7a69fe248320.zip
add new temporary deepseek-r1:14b results
Diffstat (limited to 'results/classifier/deepseek-2-tmp/output/files/1592590')
-rw-r--r--results/classifier/deepseek-2-tmp/output/files/159259020
1 files changed, 20 insertions, 0 deletions
diff --git a/results/classifier/deepseek-2-tmp/output/files/1592590 b/results/classifier/deepseek-2-tmp/output/files/1592590
new file mode 100644
index 000000000..fbb99c1a1
--- /dev/null
+++ b/results/classifier/deepseek-2-tmp/output/files/1592590
@@ -0,0 +1,20 @@
+
+Prevent qemu-img resize from causing "Active L1 table too large"
+
+This commit prevents qemu from overallocating if qcow2 image is too big (whatever that means): https://lists.gnu.org/archive/html/qemu-devel/2014-07/msg01481.html
+
+However, `qemu-img resize` isn't protected by the same code and allows to go beyond that.
+
+root@nwkr-laptop ~virtkick/hdd # qemu-img resize 33_test_609dffde-eb51-4b75-918d-b814f1bcb526.qcow2 +100000T
+Image resized.
+
+Which then causes "Active L1 table too large" error that cannot be reversed.
+
+root@nwkr-laptop ~virtkick/hdd # qemu-img info 33_test_609dffde-eb51-4b75-918d-b814f1bcb526.qcow2
+qemu-img: Could not open '33_test_609dffde-eb51-4b75-918d-b814f1bcb526.qcow2': Active L1 table too large
+
+root@nwkr-laptop ~virtkick/hdd # qemu-img resize 33_test_609dffde-eb51-4b75-918d-b814f1bcb526.qcow2 -100000T
+qemu-img: Could not open '33_test_609dffde-eb51-4b75-918d-b814f1bcb526.qcow2': Active L1 table too large
+
+
+I originally faces this bug when I passed wrong parameters to qemu-img in a programatic way which caused an image to go corrupt. It's good to protect user's images from being resized too much.
\ No newline at end of file