hpet: Report warnings with warn_report(), not error_printf()
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>
This commit is contained in:
parent
eaf27fab21
commit
d081cedd68
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user