[PATCH v2 00/12] rust: miscellaneous cleanup & HPET #property conversion

Zhao Liu posted 12 patches 1 week ago
Failed in applying to current master (apply log)
rust/common/src/uninit.rs        |   4 +-
rust/hw/core/src/qdev.rs         | 105 ++++++++++--------------------
rust/hw/timer/hpet/src/device.rs |  55 ++--------------
rust/qemu-macros/src/lib.rs      |  22 +++++--
rust/qemu-macros/src/tests.rs    | 107 ++++++++++++++++++++++++++++++-
subprojects/.gitignore           |   5 +-
6 files changed, 168 insertions(+), 130 deletions(-)
[PATCH v2 00/12] rust: miscellaneous cleanup & HPET #property conversion
Posted by Zhao Liu 1 week ago
Hi,

This series include:
 * cleanup for .gitignore of subproject.
 * cleanup for clippy error & warnings based on v1.83.
 * support bit property in #property.
 * HPET #property conversion.
 * get rid of the legacy declare_properties & define_property.

And this series is based on the commit 7a28f05aafb7 of Paolo's
rust-next branch.

Changes since v1
 * Use attrs to parse "bit" field in #property.
 * Squash the "VALUE" renaming patch into the patch of "bit" property
   support.
 * Add test case of bit property.

Thanks and Best Regards,
Zhao

---
Manos Pitsidianakis (2):
  rust/qdev: use addr_of! in QDevProp
  rust/qdev: Refine the documentation for QDevProp trait

Zhao Liu (10):
  subprojects: Update .gitignore for proc-macro2 and syn
  subprojects: Ignore .wraplock file generated by meson v1.9.0
  rust/qemu-macros: Fix Clippy's complaints about lambda parameter
    naming
  rust/common/uninit: Fix Clippy's complaints about lifetime
  rust/qdev: Support property info for more common types
  rust/qdev: Support bit property in #property macro
  rust/qdev: Test bit property for #property
  rust/hpet: Clean up type mismatch for num_timers property
  rust/hpet: Convert qdev properties to #property macro
  rust/qdev: Drop declare_properties & define_property macros

 rust/common/src/uninit.rs        |   4 +-
 rust/hw/core/src/qdev.rs         | 105 ++++++++++--------------------
 rust/hw/timer/hpet/src/device.rs |  55 ++--------------
 rust/qemu-macros/src/lib.rs      |  22 +++++--
 rust/qemu-macros/src/tests.rs    | 107 ++++++++++++++++++++++++++++++-
 subprojects/.gitignore           |   5 +-
 6 files changed, 168 insertions(+), 130 deletions(-)

-- 
2.34.1
Re: [PATCH v2 00/12] rust: miscellaneous cleanup & HPET #property conversion
Posted by Paolo Bonzini 5 days, 7 hours ago
Queued, thanks.

Paolo