rust: tests: do not import bindings::*

Similar to the devices, spell the exact set of C functions that are
called directly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2025-02-14 12:10:33 +01:00
parent 8a420dd109
commit 4cb7040d85

View File

@ -8,13 +8,14 @@ use std::{
}; };
use qemu_api::{ use qemu_api::{
bindings::*, bindings::{module_call_init, module_init_type, object_new, object_unref, qdev_prop_bool},
c_str, c_str,
cell::{self, BqlCell}, cell::{self, BqlCell},
declare_properties, define_property, declare_properties, define_property,
prelude::*, prelude::*,
qdev::{DeviceClass, DeviceImpl, DeviceState, Property, ResettablePhasesImpl}, qdev::{DeviceClass, DeviceImpl, DeviceState, Property, ResettablePhasesImpl},
qom::{ClassInitImpl, ObjectImpl, ParentField}, qom::{ClassInitImpl, ObjectImpl, ParentField},
sysbus::SysBusDevice,
vmstate::VMStateDescription, vmstate::VMStateDescription,
zeroable::Zeroable, zeroable::Zeroable,
}; };