compute/api: swap size issue
compute/api: swap size issue

When --block-device-mapping swap= is specified, its swap size is
wrongly set to 0. Thus swap device will be missing.
This is reported by https://bugs.launchpad.net/bugs/851218
This patch fixes it.

n0ano/gantt,n0ano/gantt