projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf27fa
)
hpet: Report warnings with warn_report(), not error_printf()
author
Markus Armbruster
<armbru@redhat.com>
Wed, 17 Apr 2019 19:06:32 +0000
(21:06 +0200)
committer
Markus Armbruster
<armbru@redhat.com>
Wed, 17 Apr 2019 19:21:49 +0000
(21:21 +0200)
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <
20190417190641
.26814-7-armbru@redhat.com>
hw/timer/hpet.c
patch
|
blob
|
history
diff --git
a/hw/timer/hpet.c
b/hw/timer/hpet.c
index d97436bc7bb42d6f2d4c6a7ec803d74fada846b9..41024f39fbce296c9ceb34dcc756db721bae3eb2 100644
(file)
--- a/
hw/timer/hpet.c
+++ b/
hw/timer/hpet.c
@@
-744,7
+744,7
@@
static void hpet_realize(DeviceState *dev, Error **errp)
HPETTimer *timer;
if (!s->intcap) {
-
error_printf("Hpet's intcap not initialized.\n
");
+
warn_report("Hpet's intcap not initialized
");
}
if (hpet_cfg.count == UINT8_MAX) {
/* first instance */