qemu: snapshot: Convert if-else switch to switch statement
Convert the target snapshot state selector to a switch statement enumerating all possible values. This points out a few mistakes in the original selector. The logic of the code is preserved until later patches.
Showing
想要评论请 注册 或 登录