[Qemu-devel] [PATCH 5/5] [debug] some logging
Eric Blake
eblake at redhat.com
Fri Jan 11 15:33:40 UTC 2019
On 1/11/19 3:31 AM, Gerd Hoffmann wrote:
> ---
> hw/vfio/display.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/hw/vfio/display.c b/hw/vfio/display.c
> index a3a710b3ee..96b5474243 100644
> --- a/hw/vfio/display.c
> +++ b/hw/vfio/display.c
> @@ -42,6 +42,8 @@ static void vfio_display_edid_link_up(void *opaque)
> VFIOPCIDevice *vdev = opaque;
> VFIODisplay *dpy = vdev->dpy;
>
> + fprintf(stderr, "%s:\n", __func__);
Why fprintf() instead of trace points?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20190111/cbdd7e61/attachment.sig>
More information about the intel-gvt-dev
mailing list