Bugfixes for virt-resize.
authorRichard Jones <rjones@redhat.com>
Sat, 10 Apr 2010 12:35:31 +0000 (13:35 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 12 Apr 2010 18:08:21 +0000 (19:08 +0100)
commit73ae773ca257b788e7805238a95e128d076a0987
tree7a1e1f5061ee49dc688273e41635923981b2077c
parente84ab94975e8582c42cc803f3e0e93355b066b47
Bugfixes for virt-resize.

 - copy more than 64 boot loader sectors across, since real boot
   loaders (eg. for Windows) can be much larger than this
 - copy bootable flag and ID byte to new partitions
 - start the first partition on the new disk at the same sector
   offset as on the old disk
 - sync the disks before existing
(cherry picked from commit add5e22563972210f5c8baf9e8cf651fc1a7bbd8)
tools/virt-resize