On Fri, Aug 22, 2025 at 02:26:52PM +0200, Paolo Bonzini wrote: > Date: Fri, 22 Aug 2025 14:26:52 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 11/14] log: change qemu_loglevel to unsigned > X-Mailer: git-send-email 2.50.1 > > Bindgen makes the LOG_* constants unsigned, even if they are defined as > (1 << 15): > > pub const LOG_TRACE: u32 = 32768; > > Make them unsigned in C as well, and also change the type of the variable > that they are used with. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > include/qemu/log-for-trace.h | 4 ++-- > include/qemu/log.h | 44 ++++++++++++++++++------------------ > util/log.c | 2 +- > rust/qemu-api/src/log.rs | 2 +- > 4 files changed, 26 insertions(+), 26 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>