qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/8] target/arm/cpu: Allow init-svtor property t


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 3/8] target/arm/cpu: Allow init-svtor property to be set after realize
Date: Wed, 20 Feb 2019 19:13:42 +0000

On Wed, 20 Feb 2019 at 18:16, Richard Henderson
<address@hidden> wrote:
>
> On 2/19/19 4:58 AM, Peter Maydell wrote:
> > +static void arm_set_init_svtor(Object *obj, Visitor *v, const char *name,
> > +                               void *opaque, Error **errp)
> > +{
> > +    ARMCPU *cpu = ARM_CPU(obj);
> > +
> > +    visit_type_uint32(v, name, &cpu->init_svtor, errp);
> > +}
>
> Since there's no validation needed, can this use 
> object_property_add_uint32_ptr?

I tried that first, but it doesn't let you set the property,
only read it...

thanks
-- PMM



reply via email to

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