summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/boot/1638
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
commitdee4dcba78baf712cab403d47d9db319ab7f95d6 (patch)
tree418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/zero-shot/105/boot/1638
parent4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff)
downloadqemu-analysis-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz
qemu-analysis-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot/105/boot/1638')
-rw-r--r--results/classifier/zero-shot/105/boot/163832
1 files changed, 32 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/105/boot/1638 b/results/classifier/zero-shot/105/boot/1638
new file mode 100644
index 000000000..439580ba0
--- /dev/null
+++ b/results/classifier/zero-shot/105/boot/1638
@@ -0,0 +1,32 @@
+boot: 0.903
+graphic: 0.873
+instruction: 0.844
+device: 0.787
+other: 0.702
+semantic: 0.614
+vnc: 0.427
+KVM: 0.389
+mistranslation: 0.316
+network: 0.289
+socket: 0.267
+assembly: 0.099
+
+BUG: Segmentation fault when -object memory-backend-file use readonly=on, prealloc=on together
+Description of problem:
+Segmentation Fault while booting VM.
+Steps to reproduce:
+1. set qemu boot params to `-object memory-backend-file,id=mem1,readonly=on,prealloc=on,mem-path=<any-img-file>,size=4G`
+2.
+3.
+Additional information:
+It might not be a bug, probably a feature.
+The reason of this segfault is:
+readonly would mmap the backend file using PROT_READ, make it readonly,
+but the prealloc=on would touch_pages the memory mmaped by the file.
+SO the segfault happens.
+
+But there is no docs about this segfault condition (the readonly and prealloc cannot be used together.)
+
+And maybe there is a way to solve this problem, I think.
+Use mmap the memory backend file to PROT_READ|PROT_WRITE at the beginnning, after touch_pages, then mprotect the memory.
+change the prot to readonly if required.