libvirt/tools/wireshark
Peter Krempa bb4bd9d31f Replace improper use of g_malloc(0) with g_new0
Completely remove use of g_malloc (without zeroing of the allocated
memory) and forbid further use.

Replace use of g_malloc0 in cases where the variable holding the pointer
has proper type.

In all of the above cases we can use g_new0 instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-11-01 15:52:18 +01:00
..
samples tools: wireshark: fix link to wireshark repo 2020-09-01 21:58:45 +02:00
src Replace improper use of g_malloc(0) with g_new0 2024-11-01 15:52:18 +01:00
util tools: fix misc spelling errors reported by codespell 2020-10-05 10:28:45 +01:00
meson.build meson: tools/wireshark: generate protocol header files 2020-08-03 09:27:05 +02:00
README.rst Remove references to deleted Makefile.am 2021-04-13 11:21:00 +02:00

About

This is the project of Google Summer of Code 2013 accepted by QEMU.org and libvirt community. The goal of this project is, provide Wireshark dissector for Libvirt RPC protocol. It will provide Libvirt packet overview/detail analysing in Wireshark. Furthermore, it will be able to build(generated) from RPC protocol definition placed in Libvirt source tree to support latest protocol specification.

See also:

Installation

Run ./configure with --with-wireshark-dissector option enabled. Then dissector will compiled with libvirt itself.

Add/Remove protocol from dissector's support

Modify argument input in tools/wireshark/src/libvirt/meson.build.

Changing installation directory

You can change installation directory of pluggable shared object(libvirt.so) by specifying --with-ws-plugindir=<path>.

You can install libvirt.so into your local wireshark plugin directory:

$ ./configure --with-wireshark-dissector \
              --with-ws-plugindir=$HOME/.wireshark/plugins