Add ignore size support in _AssembleInstanceDisks
authorIustin Pop <iustin@google.com>
Sun, 26 Jul 2009 19:19:15 +0000 (21:19 +0200)
committerIustin Pop <iustin@google.com>
Tue, 4 Aug 2009 14:35:35 +0000 (16:35 +0200)
commite3443b36a580a1eb5fdb1a34d46e501e82bd3da9
tree331ec671a88b190710141ee002d9e120109ac751
parenta805ec18edf2e55963057adfcb7f2308d88fc8a1
Add ignore size support in _AssembleInstanceDisks

This patch adds an optional parameter to _AssembleInstanceDisks that
allows ignoring of size information by making a copy of the disk
structure and setting the size to zero.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib.py