[libvirt] [PATCH] Change way we fake dbus method calls

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Fri Aug 30 13:24:43 UTC 2013


On 08/30/2013 03:13 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Ubuntu libdbus.so links with -Bsymbolic-functions, which means
> that we can only LD_PRELOAD functions that we directly call.
> Functions which libdbus.so calls internally can not be replaced.
> Thus we cannot use dbus_message_new_error or dbus_message_new_method_return
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>   tests/virsystemdmock.c |   26 ++++++++++++++++++--------
>   1 file changed, 18 insertions(+), 8 deletions(-)
>
[Works for me...]
Tested-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>

-- 

Mit freundlichen Grüßen/Kind Regards
    Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the libvir-list mailing list