xen-block.h (c9d18c1c150c84e7a976df989ad04ddf01083f46) | xen-block.h (b69c3c21a5d11075d42100d5cfe0a736593fae6b) |
---|---|
1/* 2 * Copyright (c) 2018 Citrix Systems Inc. 3 * 4 * This work is licensed under the terms of the GNU GPL, version 2 or later. 5 * See the COPYING file in the top-level directory. 6 */ 7 8#ifndef HW_XEN_BLOCK_H --- 43 unchanged lines hidden (view full) --- 52 const char *device_type; 53 unsigned int info; 54 XenBlockDataPlane *dataplane; 55 XenBlockDrive *drive; 56 XenBlockIOThread *iothread; 57} XenBlockDevice; 58 59typedef void (*XenBlockDeviceRealize)(XenBlockDevice *blockdev, Error **errp); | 1/* 2 * Copyright (c) 2018 Citrix Systems Inc. 3 * 4 * This work is licensed under the terms of the GNU GPL, version 2 or later. 5 * See the COPYING file in the top-level directory. 6 */ 7 8#ifndef HW_XEN_BLOCK_H --- 43 unchanged lines hidden (view full) --- 52 const char *device_type; 53 unsigned int info; 54 XenBlockDataPlane *dataplane; 55 XenBlockDrive *drive; 56 XenBlockIOThread *iothread; 57} XenBlockDevice; 58 59typedef void (*XenBlockDeviceRealize)(XenBlockDevice *blockdev, Error **errp); |
60typedef void (*XenBlockDeviceUnrealize)(XenBlockDevice *blockdev, Error **errp); | 60typedef void (*XenBlockDeviceUnrealize)(XenBlockDevice *blockdev); |
61 62typedef struct XenBlockDeviceClass { 63 /*< private >*/ 64 XenDeviceClass parent_class; 65 /*< public >*/ 66 XenBlockDeviceRealize realize; 67 XenBlockDeviceUnrealize unrealize; 68} XenBlockDeviceClass; --- 26 unchanged lines hidden --- | 61 62typedef struct XenBlockDeviceClass { 63 /*< private >*/ 64 XenDeviceClass parent_class; 65 /*< public >*/ 66 XenBlockDeviceRealize realize; 67 XenBlockDeviceUnrealize unrealize; 68} XenBlockDeviceClass; --- 26 unchanged lines hidden --- |