vmwlegacy: Don't prune modes based on the virtual size of the default mode
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 30 Mar 2011 10:37:24 +0000 (12:37 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 30 Mar 2011 12:23:37 +0000 (14:23 +0200)
commit0142bb8d10edb153c9ce79a2ea3ff92a7fb15ac5
tree68877d8cbabb6d5f39e61db27b91bf98c63945bb
parent04297d435b87e3d04a427ac8ef33d314727220e6
vmwlegacy: Don't prune modes based on the virtual size of the default mode

We might be pruning modes based on the virtual size of the default mode in
some situations. Avoid this by allowing a virtual size equal to the device
max size, unless the user has requested something else.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
src/vmwaremodes.c