]> git.proxmox.com Git - mirror_qemu.git/commit
hw/i386/vmport: fix missing definitions with non-log trace backends
authorLaurent Vivier <laurent@vivier.eu>
Thu, 21 Dec 2017 21:11:03 +0000 (22:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Dec 2017 22:52:28 +0000 (22:52 +0000)
commit43ab9a5376c95c61ae898a222c4d04bdf60e239b
tree8a418442eac1a6935068a4ea3756c0c7e87be289
parent23bafd75cd979ad3a21af10273c5a0c5d67d068b
hw/i386/vmport: fix missing definitions with non-log trace backends

When compiled with anything other than the 'log' trace backend, we have:

   error: implicit declaration of function 'qemu_log_mask'
   error: 'LOG_UNIMP' undeclared (first use in this function)

This patch adds the missing include.

Fixes: 7299e1a411
       ("hw/i386/vmport: replace fprintf() by trace events or LOG_UNIMP")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-id: 20171221211103.30311-1-laurent@vivier.eu
[PMM: fixed commit message description of when problem occurs]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/i386/vmport.c