mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
rust: rename qemu-api modules to follow C code a bit more
A full match would mean calling them qom::object and hw::core::qdev. For now, keep the names shorter but still a bit easier to find. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
cb36da9bd8
commit
4aed0296b3
10 changed files with 91 additions and 56 deletions
|
@ -11,10 +11,10 @@ use std::{
|
|||
use qemu_api::{
|
||||
bindings::{self, *},
|
||||
c_str,
|
||||
definitions::ObjectImpl,
|
||||
device_class::DeviceImpl,
|
||||
irq::InterruptSource,
|
||||
prelude::*,
|
||||
qdev::DeviceImpl,
|
||||
qom::ObjectImpl,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue