]> Git Repo - qemu.git/blobdiff - include/block/throttle-groups.h
block: convert ThrottleGroup to object with QOM
[qemu.git] / include / block / throttle-groups.h
index a0f27cac63e6c698ed8717fa7bd9a22bee2f0535..82f030523f666bbc34e345c3741fada8740f6e24 100644 (file)
@@ -53,6 +53,9 @@ typedef struct ThrottleGroupMember {
 
 } ThrottleGroupMember;
 
+#define TYPE_THROTTLE_GROUP "throttle-group"
+#define THROTTLE_GROUP(obj) OBJECT_CHECK(ThrottleGroup, (obj), TYPE_THROTTLE_GROUP)
+
 const char *throttle_group_get_name(ThrottleGroupMember *tgm);
 
 ThrottleState *throttle_group_incref(const char *name);
This page took 0.021573 seconds and 4 git commands to generate.