]> Git Repo - qemu.git/commit - block/qcow2.c
qcow2: insert assert into qcow2_get_specific_info()
authorDenis V. Lunev <[email protected]>
Thu, 10 Dec 2015 09:55:48 +0000 (12:55 +0300)
committerKevin Wolf <[email protected]>
Fri, 18 Dec 2015 13:34:43 +0000 (14:34 +0100)
commitb1fc8f934ba3fcdc8381b89413ad4df2e90d5312
treef6d503f2a2f9621e79b702ab307a7547c2abbf12
parente9dbdc5e46054c4660b4c4f705ce8ff6aeb4959b
qcow2: insert assert into qcow2_get_specific_info()

s->qcow_version is always set to 2 or 3. Let's assert if this is wrong.

Signed-off-by: Denis V. Lunev <[email protected]>
CC: Roman Kagan <[email protected]>
CC: Max Reitz <[email protected]>
CC: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/qcow2.c
This page took 0.025395 seconds and 4 git commands to generate.