Coverage Report

Created: 2026-10-31 08:12

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qemu/backends/host_iommu_device.c
Line
Count
Source
1
/*
2
 * Host IOMMU device abstract
3
 *
4
 * Copyright (C) 2024 Intel Corporation.
5
 *
6
 * Authors: Zhenzhong Duan <zhenzhong.duan@intel.com>
7
 *
8
 * This work is licensed under the terms of the GNU GPL, version 2.  See
9
 * the COPYING file in the top-level directory.
10
 */
11
12
#include "qemu/osdep.h"
13
#include "system/host_iommu_device.h"
14
15
OBJECT_DEFINE_ABSTRACT_TYPE(HostIOMMUDevice,
16
                            host_iommu_device,
17
                            HOST_IOMMU_DEVICE,
18
                            OBJECT)
19
20
static void host_iommu_device_class_init(ObjectClass *oc, const void *data)
21
61
{
22
61
}
23
24
static void host_iommu_device_init(Object *obj)
25
0
{
26
0
}
27
28
static void host_iommu_device_finalize(Object *obj)
29
0
{
30
0
    HostIOMMUDevice *hiod = HOST_IOMMU_DEVICE(obj);
31
32
0
    g_free(hiod->name);
33
0
}