OSDN Git Service

target/i386: enable monitor and ucode revision with -cpu max
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Feb 2020 17:47:48 +0000 (18:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Feb 2020 15:29:51 +0000 (16:29 +0100)
commitbe02cda3afde60d219786e23c3f8edb53aec8e17
treebbef66c43b4ddce6dce2fa6dc1274a65775c7791
parent6702514814c7e7b4cbf179624539b5f38c72740b
target/i386: enable monitor and ucode revision with -cpu max

These two features were incorrectly tied to host_cpuid_required rather than
cpu->max_features.  As a result, -cpu max was not enabling either MONITOR
features or ucode revision.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c