migration/xbzrle: Use i386 host/cpuinfo.h
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 18 May 2023 03:00:30 +0000 (20:00 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 23 May 2023 23:51:18 +0000 (16:51 -0700)
commit7ba7db9fa101f59cd42cc8ead8a83b121a852943
tree6ca3b59ea82b7d2629346e1fb88823c38bbccb30
parent1b48d0abdf3b723f2d0f91172dcc9f89d50a92ce
migration/xbzrle: Use i386 host/cpuinfo.h

Perform the function selection once, and only if CONFIG_AVX512_OPT
is enabled.  Centralize the selection to xbzrle.c, instead of
spreading the init across 3 files.

Remove xbzrle-bench.c.  The benefit of being able to benchmark
the different implementations is less important than not peeking
into the internals of the implementation.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
migration/ram.c
migration/xbzrle.c
migration/xbzrle.h
tests/bench/meson.build
tests/bench/xbzrle-bench.c [deleted file]
tests/unit/test-xbzrle.c