diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2019-09-20 09:08:17 -0400 |
---|---|---|
committer | Thanos <tmakatos@gmail.com> | 2019-09-27 15:59:11 +0100 |
commit | ea44111861ac603438990eef73c74b3f80aeface (patch) | |
tree | f089f4f8dc5cb1b2088e7cf846b25c6c37b8083e /lib/libmuser_pci.c | |
parent | 57efe9362daa223ecc9e02a02ce5349b5be9317a (diff) | |
download | libvfio-user-ea44111861ac603438990eef73c74b3f80aeface.zip libvfio-user-ea44111861ac603438990eef73c74b3f80aeface.tar.gz libvfio-user-ea44111861ac603438990eef73c74b3f80aeface.tar.bz2 |
make debug logging more configurable
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/libmuser_pci.c')
-rw-r--r-- | lib/libmuser_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libmuser_pci.c b/lib/libmuser_pci.c index 488167d..4260dad 100644 --- a/lib/libmuser_pci.c +++ b/lib/libmuser_pci.c @@ -249,7 +249,9 @@ muser_pci_hdr_write(lm_ctx_t * const lm_ctx, const uint16_t offset, ret = -EINVAL; } +#ifndef LM_TERSE_LOGGING dump_buffer(lm_ctx, "PCI header", pci->hdr.raw, 0xff); +#endif return ret; } |