qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] i386: hvf: Remove hvf_disabled


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] i386: hvf: Remove hvf_disabled
Date: Thu, 18 Oct 2018 15:37:17 +0100

On 18 October 2018 at 15:30, Roman Bolshakov <address@hidden> wrote:
> accel_init_machine sets *(acc->allowed) to true if acc->init_machine(ms)
> succeeds. There's no need to have both hvf_allowed and hvf_disabled.
>
> Signed-off-by: Roman Bolshakov <address@hidden>
> ---
>  include/sysemu/hvf.h  | 4 ++--
>  target/i386/hvf/hvf.c | 9 +--------
>  2 files changed, 3 insertions(+), 10 deletions(-)

This brings HVF into line with all the other accelerators,
which define the foo_enabled() function or macro to look at
a foo_allowed flag.

Reviewed-by: Peter Maydell <address@hidden>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]