commit | 01fc99d6a8f56c8dc4a7466476d6dcb0ad91f589 | [log] [tgz] |
---|---|---|
author | Fam Zheng <famcool@gmail.com> | Tue Jul 12 19:56:30 2011 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jul 19 15:39:06 2011 +0200 |
tree | 6d3a35cdb8e4fe706f109c617f4ddd8dce21c42a | |
parent | 0e69c543946957fe8450ebb13874bb1ef280d55b [diff] |
VMDK: probe for monolithicFlat images Probe as the same behavior as VMware does. Recognize image as monolithicFlat descriptor file when the file is text and the first effective line (not '#' leaded comment or space line) is either 'version=1' or 'version=2'. No space or upper case charactors accepted. Signed-off-by: Fam Zheng <famcool@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>