qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH for-6.2 1/8] softmmu: Use accel_find("xen") instead of xen_av


From: Richard Henderson
Subject: Re: [PATCH for-6.2 1/8] softmmu: Use accel_find("xen") instead of xen_available()
Date: Fri, 30 Jul 2021 08:41:00 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/30/21 12:59 AM, Peter Maydell wrote:
The xen_available() function is used only to produce an error
for some Xen-specific command line options in QEMU binaries where
Xen support was not compiled in: it just returns the value of
the CONFIG_XEN define.

Now that accelerators are QOM classes, we can check for
"does this binary have Xen compiled in" with accel_find("xen"),
and drop the xen_available() function.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  include/sysemu/arch_init.h | 1 -
  softmmu/arch_init.c        | 9 ---------
  softmmu/vl.c               | 6 +++---
  3 files changed, 3 insertions(+), 13 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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