mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
hw/arm/xen_arm.c: convert DPRINTF to trace events and error/warn reports
Tracing DPRINTFs to stderr might not be desired. A developer that relies on trace events should be able to opt-in to each trace event and rely on QEMU's log redirection, instead of stderr by default. This commit converts DPRINTFs in this file that are used for tracing into trace events. Errors or warnings are converted to error_report and warn_report calls. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: fe5e3bd54231abe933f95a24e0e88208cd8cfd8f.1706544115.git.manos.pitsidianakis@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
fcc554c7af
commit
6b4a990b42
2 changed files with 16 additions and 12 deletions
|
@ -65,3 +65,8 @@ z2_lcd_enable_disable_result(const char *result) "LCD %s"
|
|||
z2_aer915_send_too_long(int8_t msg) "message too long (%i bytes)"
|
||||
z2_aer915_send(uint8_t reg, uint8_t value) "reg %d value 0x%02x"
|
||||
z2_aer915_event(int8_t event, int8_t len) "i2c event =0x%x len=%d bytes"
|
||||
|
||||
# xen_arm.c
|
||||
xen_create_virtio_mmio_devices(int i, int irq, uint64_t base) "Created virtio-mmio device %d: irq %d base 0x%"PRIx64
|
||||
xen_init_ram(uint64_t machine_ram_size) "Initialized xen ram with size 0x%"PRIx64
|
||||
xen_enable_tpm(uint64_t addr) "Connected tpmdev at address 0x%"PRIx64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue