qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* meson: why no target_user_arch in target/xxx/meson.build ?
@ 2021-02-09 19:24 Claudio Fontana
  2021-02-09 19:31 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Fontana @ 2021-02-09 19:24 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

Hi Paolo,

I am looking at arm code right now in target/

and I would like to build some separate helper-user.c and helper-softmmu.c .

I'd like then to include only the right one depending on CONFIG_SOFTMMU and CONFIG_USER_ONLY.

Any reason why there is no equivalent of target_softmmu_arch called target_user_arch to use for this?

Thanks,

Claudio

-- 
Claudio Fontana
Engineering Manager Virtualization, SUSE Labs Core

SUSE Software Solutions Italy Srl


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: meson: why no target_user_arch in target/xxx/meson.build ?
  2021-02-09 19:24 meson: why no target_user_arch in target/xxx/meson.build ? Claudio Fontana
@ 2021-02-09 19:31 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2021-02-09 19:31 UTC (permalink / raw)
  To: Claudio Fontana; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

Because nobody needed it so far. All targets need softmmu-specific files,
at least machine.c which (for weird reasons) has the migration code for CPU
objects.

Paolo

Il mar 9 feb 2021, 20:24 Claudio Fontana <cfontana@suse.de> ha scritto:

> Hi Paolo,
>
> I am looking at arm code right now in target/
>
> and I would like to build some separate helper-user.c and helper-softmmu.c
> .
>
> I'd like then to include only the right one depending on CONFIG_SOFTMMU
> and CONFIG_USER_ONLY.
>
> Any reason why there is no equivalent of target_softmmu_arch called
> target_user_arch to use for this?
>
> Thanks,
>
> Claudio
>
> --
> Claudio Fontana
> Engineering Manager Virtualization, SUSE Labs Core
>
> SUSE Software Solutions Italy Srl
>
>

[-- Attachment #2: Type: text/html, Size: 1107 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-09 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-09 19:24 meson: why no target_user_arch in target/xxx/meson.build ? Claudio Fontana
2021-02-09 19:31 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).