On 07/02/2018 19:37, Roman Kagan wrote:
> On Wed, Feb 07, 2018 at 11:45:28AM +0100, Paolo Bonzini wrote:
>> On 06/02/2018 21:30, Roman Kagan wrote:
>>> +static SynICState *get_synic(X86CPU *cpu)
>>> +{
>>> +SynICState *synic =
>>> +SYNIC(object_resolve_path_component(OBJECT(cpu), "synic
On Wed, Feb 07, 2018 at 11:45:28AM +0100, Paolo Bonzini wrote:
> On 06/02/2018 21:30, Roman Kagan wrote:
> > +static SynICState *get_synic(X86CPU *cpu)
> > +{
> > +SynICState *synic =
> > +SYNIC(object_resolve_path_component(OBJECT(cpu), "synic"));
> > +assert(synic);
> > +retur
On 06/02/2018 21:30, Roman Kagan wrote:
> +static SynICState *get_synic(X86CPU *cpu)
> +{
> +SynICState *synic =
> +SYNIC(object_resolve_path_component(OBJECT(cpu), "synic"));
> +assert(synic);
> +return synic;
> +}
> +
This is somewhat slow, maybe add the pointer to X86CPU?
>