add support to set MemorySwap

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
don't worry about it, just keep it as is