commit | 5b4ce93a8fe759e2d6b2ee05765cd5a3b4b6a2f1 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Sat Nov 09 16:58:54 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 15 11:44:02 2019 +0100 |
tree | 309fc6b4e8e82a9a1367a1adda9552c2f26f9192 | |
parent | b139b5a24774ee28e3e4d22942e2bede28d48202 [diff] |
KVM: X86: avoid unused setup_syscalls_segments call when SYSCALL check failed When SYSCALL/SYSENTER ability check failed, cs and ss is inited but remain not used. Delay initializing cs and ss until SYSCALL/SYSENTER ability check passed. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>