Revision 99e051b2904f7c1dbf451725494f5d39fba4519d authored by Eric Blake on 11 June 2018, 21:39:27 UTC, committed by Michael Roth on 21 June 2018, 01:45:07 UTC
Although qemu-img creates aligned files (by rounding up), it
must also gracefully handle files that are not sector-aligned.
Test that the bug fixed in the previous patch does not recur.

It's a bit annoying that we can see the (implicit) hole past
the end of the file on to the next sector boundary, so if we
ever reach the point where we report a byte-accurate size rather
than our current behavior of always rounding up, this test will
probably need a slight modification.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit c6a9d2f6f9bc0c163b3a3073126464a2446bad5f)
 Conflicts:
	tests/qemu-iotests/group
* drop context dep on tests not present in 2.11
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 9c5a843
History
File Mode Size
keycodemapdb @ 10739aa
shader
Makefile.objs -rw-r--r-- 1.5 KB
cocoa.m -rw-r--r-- 58.6 KB
console-gl.c -rw-r--r-- 4.6 KB
console.c -rw-r--r-- 61.2 KB
curses.c -rw-r--r-- 12.6 KB
curses_keys.h -rw-r--r-- 13.9 KB
cursor.c -rw-r--r-- 5.3 KB
cursor_hidden.xpm -rw-r--r-- 1.3 KB
cursor_left_ptr.xpm -rw-r--r-- 1.4 KB
egl-context.c -rw-r--r-- 1.0 KB
egl-headless.c -rw-r--r-- 5.3 KB
egl-helpers.c -rw-r--r-- 13.4 KB
gtk-egl.c -rw-r--r-- 6.5 KB
gtk-gl-area.c -rw-r--r-- 6.0 KB
gtk.c -rw-r--r-- 71.4 KB
input-keymap.c -rw-r--r-- 2.0 KB
input-legacy.c -rw-r--r-- 8.0 KB
input-linux.c -rw-r--r-- 12.2 KB
input.c -rw-r--r-- 17.1 KB
keymaps.c -rw-r--r-- 7.3 KB
keymaps.h -rw-r--r-- 2.4 KB
qemu-pixman.c -rw-r--r-- 6.9 KB
qemu-x509.h -rw-r--r-- 239 bytes
sdl.c -rw-r--r-- 30.3 KB
sdl2-2d.c -rw-r--r-- 4.9 KB
sdl2-gl.c -rw-r--r-- 6.9 KB
sdl2-input.c -rw-r--r-- 3.3 KB
sdl2-keymap.h -rw-r--r-- 13.8 KB
sdl2.c -rw-r--r-- 25.3 KB
sdl_keysym.h -rw-r--r-- 8.6 KB
sdl_zoom.c -rw-r--r-- 2.8 KB
sdl_zoom.h -rw-r--r-- 578 bytes
sdl_zoom_template.h -rw-r--r-- 6.9 KB
shader.c -rw-r--r-- 5.2 KB
spice-core.c -rw-r--r-- 27.8 KB
spice-display.c -rw-r--r-- 33.2 KB
spice-input.c -rw-r--r-- 7.6 KB
trace-events -rw-r--r-- 6.4 KB
vgafont.h -rw-r--r-- 93.3 KB
vnc-auth-sasl.c -rw-r--r-- 19.1 KB
vnc-auth-sasl.h -rw-r--r-- 2.3 KB
vnc-auth-vencrypt.c -rw-r--r-- 5.1 KB
vnc-auth-vencrypt.h -rw-r--r-- 1.4 KB
vnc-enc-hextile-template.h -rw-r--r-- 4.5 KB
vnc-enc-hextile.c -rw-r--r-- 2.7 KB
vnc-enc-tight.c -rw-r--r-- 61.6 KB
vnc-enc-tight.h -rw-r--r-- 8.3 KB
vnc-enc-zlib.c -rw-r--r-- 4.4 KB
vnc-enc-zrle-template.c -rw-r--r-- 7.0 KB
vnc-enc-zrle.c -rw-r--r-- 10.3 KB
vnc-enc-zrle.h -rw-r--r-- 1.6 KB
vnc-enc-zywrle-template.c -rw-r--r-- 5.8 KB
vnc-enc-zywrle.h -rw-r--r-- 25.3 KB
vnc-jobs.c -rw-r--r-- 9.3 KB
vnc-jobs.h -rw-r--r-- 2.2 KB
vnc-palette.c -rw-r--r-- 4.3 KB
vnc-palette.h -rw-r--r-- 2.5 KB
vnc-ws.c -rw-r--r-- 3.9 KB
vnc-ws.h -rw-r--r-- 1.1 KB
vnc.c -rw-r--r-- 124.0 KB
vnc.h -rw-r--r-- 18.8 KB
vnc_keysym.h -rw-r--r-- 40.1 KB
x_keymap.c -rw-r--r-- 5.9 KB
x_keymap.h -rw-r--r-- 1.3 KB

back to top