i386: Compile CPUX86State xsave_buf only when support KVM or HVF
commit5b8063c40672f19716705f1342dc32e5030c2f43
authorLiran Alon <liran.alon@oracle.com>
Fri, 14 Sep 2018 00:38:26 +0000 (14 03:38 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2018 17:09:12 +0000 (2 19:09 +0200)
treea2d1911c099c8bc40057e5071689daf2f344758c
parentf8dc4c645ec2956a6cd97e0ca0fdd4753181f735
i386: Compile CPUX86State xsave_buf only when support KVM or HVF

While at it, also rename var to indicate it is not used only in KVM.

Reviewed-by: Nikita Leshchenko <nikita.leshchenko@oracle.com>
Reviewed-by: Patrick Colp <patrick.colp@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Message-Id: <20180914003827.124570-2-liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.h
target/i386/hvf/README.md
target/i386/hvf/hvf.c
target/i386/hvf/x86hvf.c
target/i386/kvm.c