diff options
Diffstat (limited to 'results/classifier/gemma3:12b/device/1523246')
| -rw-r--r-- | results/classifier/gemma3:12b/device/1523246 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/device/1523246 b/results/classifier/gemma3:12b/device/1523246 new file mode 100644 index 000000000..0918f4fdf --- /dev/null +++ b/results/classifier/gemma3:12b/device/1523246 @@ -0,0 +1,16 @@ + +Virtio-blk does not support TRIM + +When model=virtio is used, TRIM is not supported. + +# mount -o discard /dev/vda4 /mnt +# mount | tail -1 +/dev/vda4 on /mnt type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096) +# fstrim /mnt/ +fstrim: /mnt/: the discard operation is not supported + +Booting without model=virtio allows using TRIM (in Windows as well). + +Full QEMU line: + +qemu-system-x86_64 -enable-kvm -cpu host -bios /usr/share/ovmf/ovmf_x64.bin -smp 2 -m 7G -vga qxl -usbdevice tablet -net nic,model=virtio -net user -drive discard=unmap,detect-zeroes=unmap,cache=none,file=vms/win10.hd.img.vmdk,format=vmdk,if=virtio \ No newline at end of file |