]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-error: make use of {error, warn}_report_once_cond
authorCornelia Huck <cohuck@redhat.com>
Thu, 30 Aug 2018 14:59:02 +0000 (16:59 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 24 Sep 2018 15:13:07 +0000 (17:13 +0200)
commitc6c594596eabc80f6e54d96c56f01f8531d389b5
treeea0905ce501ee2f2da9d84def79ac7fbbb7ebaca
parentc55510b72218a2d0b263eda006fd7aac1496b694
qemu-error: make use of {error, warn}_report_once_cond

{error,warn}_report_once() are a special case of the new functions
and can simply switch to them.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20180830145902.27376-3-cohuck@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Dispense with unlikely() to keep the macros as simple as possible]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/qemu/error-report.h