The VHD format cookie signature needs to be checked in the footer
instead of the header as fixed format VHDs don't have a copy of the
footer at the beginning of the file.
Fixes bug: #1233853
(cherry-picked from commit fdc5a57d03b9a53981dc0e1623091980570456eb)
Reviewed: https:/ /review. openstack. org/110700 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4b38f3e59bd 7ead2cd27956316 4a3a2a7989b6b4
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 4b38f3e59bd7ead 2cd279563164a3a 2a7989b6b4
Author: Alessandro Pilotti <email address hidden>
Date: Wed Oct 2 00:39:09 2013 +0300
Fixes Hyper-V issue with VHD file format
The VHD format cookie signature needs to be checked in the footer
instead of the header as fixed format VHDs don't have a copy of the
footer at the beginning of the file.
Fixes bug: #1233853
(cherry-picked from commit fdc5a57d03b9a53 981dc0e16230919 80570456eb)
Conflicts:
nova/ tests/virt/ hyperv/ test_vhdutils. py
Change-Id: Ibe44f0d895cde2 edbc03dcd6eceba c24b0936660