vmdk: refuse to open higher version than supported
commit96c51eb5e46af2312b33f745ad72acb20e799aea
authorFam Zheng <famz@redhat.com>
Thu, 13 Jun 2013 03:21:29 +0000 (13 11:21 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 24 Jun 2013 08:25:43 +0000 (24 10:25 +0200)
treedc0cbcb302fd2b5238c7c0ba56be8717230c80d1
parent50b05b6f2e24296b4d739a638e1e7427767ed7cd
vmdk: refuse to open higher version than supported

Refuse to open higher version for safety.

Although we try to be compatible with published VMDK spec, VMware has
newer version from ESXi 5.1 exported OVF/OVA, which we have no knowledge
what's changed in it. And it is very likely to have more new versions in
the future, so it's not safe to open them blindly.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vmdk.c