qemu-rust.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rust: hpet: rename hpet module to "device"
@ 2025-05-14  3:54 Paolo Bonzini
  2025-05-14  5:40 ` Zhao Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2025-05-14  3:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-rust

Follow a similar convention as pl011.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 rust/hw/timer/hpet/src/{hpet.rs => device.rs} | 0
 rust/hw/timer/hpet/src/lib.rs                 | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename rust/hw/timer/hpet/src/{hpet.rs => device.rs} (100%)

diff --git a/rust/hw/timer/hpet/src/hpet.rs b/rust/hw/timer/hpet/src/device.rs
similarity index 100%
rename from rust/hw/timer/hpet/src/hpet.rs
rename to rust/hw/timer/hpet/src/device.rs
diff --git a/rust/hw/timer/hpet/src/lib.rs b/rust/hw/timer/hpet/src/lib.rs
index 1954584a87e..d4b6e015506 100644
--- a/rust/hw/timer/hpet/src/lib.rs
+++ b/rust/hw/timer/hpet/src/lib.rs
@@ -8,6 +8,6 @@
 //! Precision Event Timers) device in QEMU.
 
 pub mod fw_cfg;
-pub mod hpet;
+pub mod device;
 
 pub const TYPE_HPET: &::std::ffi::CStr = c"hpet";
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rust: hpet: rename hpet module to "device"
  2025-05-14  3:54 [PATCH] rust: hpet: rename hpet module to "device" Paolo Bonzini
@ 2025-05-14  5:40 ` Zhao Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Zhao Liu @ 2025-05-14  5:40 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, qemu-rust

On Wed, May 14, 2025 at 05:54:05AM +0200, Paolo Bonzini wrote:
> Date: Wed, 14 May 2025 05:54:05 +0200
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH] rust: hpet: rename hpet module to "device"
> X-Mailer: git-send-email 2.49.0
> 
> Follow a similar convention as pl011.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  rust/hw/timer/hpet/src/{hpet.rs => device.rs} | 0
>  rust/hw/timer/hpet/src/lib.rs                 | 2 +-
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename rust/hw/timer/hpet/src/{hpet.rs => device.rs} (100%)

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-14  5:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-14  3:54 [PATCH] rust: hpet: rename hpet module to "device" Paolo Bonzini
2025-05-14  5:40 ` Zhao Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).