On 17 January 2017 at 02:15, Shannon Zhao <[email protected]> wrote: > From: Shannon Zhao <[email protected]> > > For example, using -cpu generic will cause qemu segmentation fault. > > Signed-off-by: Shannon Zhao <[email protected]> > --- > V2: Just remove the member NULL instead of checking twice > --- > hw/arm/virt.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/hw/arm/virt.c b/hw/arm/virt.c > index 7a03f84..95ac585 100644 > --- a/hw/arm/virt.c > +++ b/hw/arm/virt.c > @@ -167,7 +167,6 @@ static const char *valid_cpus[] = { > "cortex-a53", > "cortex-a57", > "host", > - NULL > }; > > static bool cpuname_valid(const char *cpu)
Applied to target-arm.next (with some expansion of the commit message), thanks. -- PMM
