[Qemu-devel] [PATCH 5/5] [debug] some logging
Gerd Hoffmann
kraxel at redhat.com
Mon Jan 14 12:37:53 UTC 2019
On Fri, Jan 11, 2019 at 09:33:40AM -0600, Eric Blake wrote:
> 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?
Easier for temporary stuff. I don't plan to actually merge this one.
cheers,
Gerd
More information about the intel-gvt-dev
mailing list