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

2021-07-30 Thread Richard Henderson
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,

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

2021-07-30 Thread Peter Maydell
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