Simplify the source code in guest switch.
Merge branch 'v1-dev' of https://github.com/kesl/khypervisor into v1-dev