Leaf 0x80000021 falls through to the default case in
x86_emulate_cpuid() and is passed to guests unchanged, so a guest sees
host features that vmm does not support, such as Upper Address Ignore,
and Automatic IBRS, which svm_write_efer() rejects: bit 21 is treated as
must-be-zero, and a guest that enables IBRS panics with a general
protection fault on the EFER write.
Pass through only the leaf 0x80000021 bits that need no vmm support,
plus Automatic IBRS, and accept EFER.AIBRSE when the host supports it.
Sponsored by: Advanced Micro Devices, Inc.
Signed-off-by: Osvaldo Janeri Filho <ojanerif@amd.com>