All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] hw/core: Restrict 'fw-path-provider.c' to system mode emulation
@ 2020-12-07 22:07 Philippe Mathieu-Daudé
  2020-12-11 23:43 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-12-07 22:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Philippe Mathieu-Daudé, Eduardo Habkost

fw-path-provider.c is only consumed by qdev-fw.c, which itself
is in softmmu_ss[], so we can restrict fw-path-provider.c to
softmmu too.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
v2: Fix author email.
---
 hw/core/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/core/meson.build b/hw/core/meson.build
index 4a744f3b5e7..032576f5717 100644
--- a/hw/core/meson.build
+++ b/hw/core/meson.build
@@ -1,7 +1,6 @@
 # core qdev-related obj files, also used by *-user and unit tests
 hwcore_files = files(
   'bus.c',
-  'fw-path-provider.c',
   'hotplug.c',
   'qdev-properties.c',
   'qdev.c',
@@ -25,6 +24,7 @@
 common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
 
 softmmu_ss.add(files(
+  'fw-path-provider.c',
   'loader.c',
   'machine-hmp-cmds.c',
   'machine.c',
-- 
2.26.2



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

* Re: [PATCH v2] hw/core: Restrict 'fw-path-provider.c' to system mode emulation
  2020-12-07 22:07 [PATCH v2] hw/core: Restrict 'fw-path-provider.c' to system mode emulation Philippe Mathieu-Daudé
@ 2020-12-11 23:43 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-12-11 23:43 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel; +Cc: Eduardo Habkost

On 07/12/20 23:07, Philippe Mathieu-Daudé wrote:
> fw-path-provider.c is only consumed by qdev-fw.c, which itself
> is in softmmu_ss[], so we can restrict fw-path-provider.c to
> softmmu too.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> v2: Fix author email.
> ---
>   hw/core/meson.build | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/core/meson.build b/hw/core/meson.build
> index 4a744f3b5e7..032576f5717 100644
> --- a/hw/core/meson.build
> +++ b/hw/core/meson.build
> @@ -1,7 +1,6 @@
>   # core qdev-related obj files, also used by *-user and unit tests
>   hwcore_files = files(
>     'bus.c',
> -  'fw-path-provider.c',
>     'hotplug.c',
>     'qdev-properties.c',
>     'qdev.c',
> @@ -25,6 +24,7 @@
>   common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
>   
>   softmmu_ss.add(files(
> +  'fw-path-provider.c',
>     'loader.c',
>     'machine-hmp-cmds.c',
>     'machine.c',
> 

Queued, thanks.

paolo



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

end of thread, other threads:[~2020-12-11 23:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07 22:07 [PATCH v2] hw/core: Restrict 'fw-path-provider.c' to system mode emulation Philippe Mathieu-Daudé
2020-12-11 23:43 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.