QEMU will silently round down a disk or ROM image file to the nearest 512 bytes. Fix by always padding .rom, .dsk and .hd images to the nearest 512-byte boundary. Originally-fixed-by: Stefan Hajnoczi <stefanha@gmail.com>tags/v0.9.8
|
||
47 | 47 |
|
48 | 48 |
|
49 | 49 |
|
50 |
|
|
50 |
|
|
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
55 | 55 |
|
56 |
|
|
56 |
|
|
57 | 57 |
|
58 | 58 |
|
59 | 59 |
|
|
||
35 | 35 |
|
36 | 36 |
|
37 | 37 |
|
38 |
|
|
38 | 39 |
|
39 | 40 |
|
40 | 41 |
|
|
||
724 | 724 |
|
725 | 725 |
|
726 | 726 |
|
727 |
|
|
727 | 728 |
|
728 | 729 |
|
729 | 730 |
|
|
||
114 | 114 |
|
115 | 115 |
|
116 | 116 |
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 | 117 |
|
125 | 118 |
|
126 | 119 |
|
|
||
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
30 | 36 |
|
31 | 37 |
|
32 | 38 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
||
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 |
|