summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/other/986
blob: 4c4640bf802a0b2cba9e1fe6b9e3e27e5874d926 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
device: 0.710
graphic: 0.594
PID: 0.548
files: 0.527
socket: 0.524
debug: 0.489
semantic: 0.416
performance: 0.412
vnc: 0.407
permissions: 0.368
KVM: 0.365
network: 0.365
boot: 0.358
other: 0.352

vpc images are created with bigger virtual size than required
Description of problem:
Required virtual size is 895287296, but as qemu-img info reports it is 895426560.
Steps to reproduce:
1. qemu-img create -f vpc img1.vpc 895287296
2. qemu-img info img1.vpc
Additional information:
Converting back and forth is not possible as a result
   ```
$ qemu-img info openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso 
image: openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso
file format: raw
virtual size: 854 MiB (895287296 bytes)
disk size: 854 MiB

$ qemu-img create -f vpc img1.vpc 895287296
Formatting 'img1.vpc', fmt=vpc size=895287296

$ qemu-img convert -n \
    -f raw openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso \
    -O vpc img1.vpc
    
$ qemu-img compare \
    -f raw openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso \
    -F vpc img1.vpc
Warning: Image size mismatch!
Images are identical.

$ qemu-img create -f raw img2.raw 895287296
Formatting 'img2.raw', fmt=raw size=895287296

$ qemu-img convert -n -f vpc img1.vpc -O raw img2.raw
qemu-img: output file is smaller than input file

$ qemu-img compare \
    -f raw openSUSE-Leap-15.3-GNOME-Live-x86_64-Media.iso \
    -F raw img2.raw
Content mismatch at offset 0!
   ```