 32cad1ffb8
			
		
	
	
		32cad1ffb8
		
	
	
	
	
		
			
			Headers in include/sysemu/ are not only related to system *emulation*, they are also used by virtualization. Rename as system/ which is clearer. Files renamed manually then mechanical change using sed tool. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Message-Id: <20241203172445.28576-1-philmd@linaro.org>
		
			
				
	
	
		
			34 lines
		
	
	
		
			763 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			763 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Host IOMMU device abstract
 | |
|  *
 | |
|  * Copyright (C) 2024 Intel Corporation.
 | |
|  *
 | |
|  * Authors: Zhenzhong Duan <zhenzhong.duan@intel.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2.  See
 | |
|  * the COPYING file in the top-level directory.
 | |
|  */
 | |
| 
 | |
| #include "qemu/osdep.h"
 | |
| #include "system/host_iommu_device.h"
 | |
| 
 | |
| OBJECT_DEFINE_ABSTRACT_TYPE(HostIOMMUDevice,
 | |
|                             host_iommu_device,
 | |
|                             HOST_IOMMU_DEVICE,
 | |
|                             OBJECT)
 | |
| 
 | |
| static void host_iommu_device_class_init(ObjectClass *oc, void *data)
 | |
| {
 | |
| }
 | |
| 
 | |
| static void host_iommu_device_init(Object *obj)
 | |
| {
 | |
| }
 | |
| 
 | |
| static void host_iommu_device_finalize(Object *obj)
 | |
| {
 | |
|     HostIOMMUDevice *hiod = HOST_IOMMU_DEVICE(obj);
 | |
| 
 | |
|     g_free(hiod->name);
 | |
| }
 |