mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00

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>
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/*
|
|
* Copyright (c) 2018 Citrix Systems Inc.
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef HW_BLOCK_DATAPLANE_XEN_BLOCK_H
|
|
#define HW_BLOCK_DATAPLANE_XEN_BLOCK_H
|
|
|
|
#include "hw/block/block.h"
|
|
#include "hw/xen/xen-bus.h"
|
|
#include "system/iothread.h"
|
|
|
|
typedef struct XenBlockDataPlane XenBlockDataPlane;
|
|
|
|
XenBlockDataPlane *xen_block_dataplane_create(XenDevice *xendev,
|
|
BlockBackend *blk,
|
|
unsigned int sector_size,
|
|
IOThread *iothread);
|
|
void xen_block_dataplane_destroy(XenBlockDataPlane *dataplane);
|
|
void xen_block_dataplane_start(XenBlockDataPlane *dataplane,
|
|
const unsigned int ring_ref[],
|
|
unsigned int nr_ring_ref,
|
|
unsigned int event_channel,
|
|
unsigned int protocol,
|
|
Error **errp);
|
|
void xen_block_dataplane_stop(XenBlockDataPlane *dataplane);
|
|
void xen_block_dataplane_attach(XenBlockDataPlane *dataplane);
|
|
void xen_block_dataplane_detach(XenBlockDataPlane *dataplane);
|
|
|
|
#endif /* HW_BLOCK_DATAPLANE_XEN_BLOCK_H */
|