2 * Host IOMMU device abstract
4 * Copyright (C) 2024 Intel Corporation.
6 * Authors: Zhenzhong Duan <zhenzhong.duan@intel.com>
8 * This work is licensed under the terms of the GNU GPL, version 2. See
9 * the COPYING file in the top-level directory.
12 #include "qemu/osdep.h"
13 #include "sysemu/host_iommu_device.h"
15 OBJECT_DEFINE_ABSTRACT_TYPE(HostIOMMUDevice
,
20 static void host_iommu_device_class_init(ObjectClass
*oc
, void *data
)
24 static void host_iommu_device_init(Object
*obj
)
28 static void host_iommu_device_finalize(Object
*obj
)
30 HostIOMMUDevice
*hiod
= HOST_IOMMU_DEVICE(obj
);