summaryrefslogtreecommitdiffstats
path: root/block/Makefile.objs
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-01-06 18:48:13 +0100
committerKevin Wolf <kwolf@redhat.com>2015-02-06 17:24:21 +0100
commita8b10c6ead7f62e8eadbdaf944f371889c3c4c29 (patch)
tree259678c86c725e2d99b4297f7f94f0efbd772dfd /block/Makefile.objs
parent66ec3bba972b6d4433698397d25d039c230949dc (diff)
downloadhqemu-a8b10c6ead7f62e8eadbdaf944f371889c3c4c29.zip
hqemu-a8b10c6ead7f62e8eadbdaf944f371889c3c4c29.tar.gz
block/dmg: factor out block type check
In preparation for adding bzip2 support, split the type check into a separate function. Make all offsets relative to the begin of a chunk such that it is easier to recognize the position without having to add up all offsets. Some comments are added to describe the fields. There is no functional change. Signed-off-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1420566495-13284-11-git-send-email-peter@lekensteyn.nl Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/Makefile.objs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud