On Tue, Oct 15, 2024 at 03:17:24PM +0200, Paolo Bonzini wrote: > Date: Tue, 15 Oct 2024 15:17:24 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 06/16] rust: do not use OnceLock for properties > X-Mailer: git-send-email 2.46.2 > > Properties are initialized lazily but always accessed within the big QEMU > lock. > > There is no need to have a OnceLock around them, and also OnceCell/OnceLock > were only stabilized in 1.70.0; so remove it. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/qemu-api/src/device_class.rs | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>