add support to set MemorySwap

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Yeah, I considered this before, we already used flMemorySwap above, normally
this should be flMemorySwapString, but it's a bit too long.
If it's OK, I can change it to flMemorySwapString, what do you think?