qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 09/29] tcg/module: add tcg-module.[ch] infrastructure


From: Gerd Hoffmann
Subject: Re: [PATCH 09/29] tcg/module: add tcg-module.[ch] infrastructure
Date: Tue, 28 Sep 2021 14:11:26 +0200

  Hi,

> > +struct TCGModuleOps {
> > +};
> > +extern struct TCGModuleOps tcg;
> 
> TCG functions taking a CPUState argument should reside in
> CPUClass's AccelCPUClass/TCGCPUOps, not a global struct.

It's not that easy.  Tried that first, but using TCGCPUOps outside cpu
code doesn't work.

take care,
  Gerd




reply via email to

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