summaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2021-03-22 14:27:43 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-05-10 15:41:50 -0400
commitce21726525da53053432b19e27e9fd2a49086d78 (patch)
tree728582a6a95073517918cbd5b2eb6fe8dbc84224 /cpu.c
parentbb883fd67707fd7f1bf04369aafd7ea7ad5b01b0 (diff)
target/i386: fix host_cpu_adjust_phys_bits error handling
move the check for phys_bits outside of host_cpu_adjust_phys_bits, because otherwise it is impossible to return an error condition explicitly. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210322132800.7470-8-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions