summary refs log tree commit diff stats
path: root/rust/qemu-api/src/memory.rs
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-05-14 16:49:53 +0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-10 12:59:07 +0200
commit8cab2354a2ff77c0977ac337a93ad6f645e5086a (patch)
treed9a2a94412c5b35ee69595b63afd723a7d677152 /rust/qemu-api/src/memory.rs
parent17612f972f02fcafae2c70aa96c9d2e7a4c6d36d (diff)
downloadfocaccia-qemu-8cab2354a2ff77c0977ac337a93ad6f645e5086a.tar.gz
focaccia-qemu-8cab2354a2ff77c0977ac337a93ad6f645e5086a.zip
hw/hyperv/balloon: Consolidate OBJECT_DEFINE_SIMPLE_TYPE_WITH_INTERFACES
The QOM type of HvBalloon is declared by OBJECT_DECLARE_SIMPLE_TYPE,
which means it doesn't need the class!

Therefore, use OBJECT_DEFINE_SIMPLE_TYPE_WITH_INTERFACES to implement
the type, then there's no need for class definition.

Cc: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Acked-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-ID: <20250514084957.2221975-6-zhao1.liu@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api/src/memory.rs')
0 files changed, 0 insertions, 0 deletions