[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/10] spice: Move all the spice-related code in spice-app.so
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 04/10] spice: Move all the spice-related code in spice-app.so |
Date: |
Tue, 30 Jun 2020 01:37:27 +0200 |
Hi,
> common-obj-y = audio.o audio_legacy.o noaudio.o wavaudio.o mixeng.o
> -common-obj-$(CONFIG_SPICE) += spiceaudio.o
> +spice-app.mo-objs += ../audio/spiceaudio.o
Hmm. audio/audio.c will try to load audio-${backend}.so when you run
qemu -audiodev ${backend}, so I suspect this is not going to work ...
I guess we should better try to tackle modules depending on modules
problem. Given that g_module_open() doesn't support a custom shared
object search path I suspect we can't simply link audio-spice.so against
ui-spice-core.so and let the dynamic linker handle this for us.
Probably qemu needs a list of dependencies it'll check on module load
...
take care,
Gerd