block_int.h (3753e255da8f6a654c3e7b650a2d27734bec15f9) block_int.h (03c320d803fd881736b63015048498cf97d410d3)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 668 unchanged lines hidden (view full) ---

677int coroutine_fn bdrv_co_pwritev(BdrvChild *child,
678 int64_t offset, unsigned int bytes, QEMUIOVector *qiov,
679 BdrvRequestFlags flags);
680
681int get_tmp_filename(char *filename, int size);
682BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size,
683 const char *filename);
684
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 668 unchanged lines hidden (view full) ---

677int coroutine_fn bdrv_co_pwritev(BdrvChild *child,
678 int64_t offset, unsigned int bytes, QEMUIOVector *qiov,
679 BdrvRequestFlags flags);
680
681int get_tmp_filename(char *filename, int size);
682BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size,
683 const char *filename);
684
685void bdrv_parse_filename_strip_prefix(const char *filename, const char *prefix,
686 QDict *options);
685
687
688
686/**
687 * bdrv_add_before_write_notifier:
688 *
689 * Register a callback that is invoked before write requests are processed but
690 * after any throttling or waiting for overlapping requests.
691 */
692void bdrv_add_before_write_notifier(BlockDriverState *bs,
693 NotifierWithReturn *notifier);

--- 252 unchanged lines hidden ---
689/**
690 * bdrv_add_before_write_notifier:
691 *
692 * Register a callback that is invoked before write requests are processed but
693 * after any throttling or waiting for overlapping requests.
694 */
695void bdrv_add_before_write_notifier(BlockDriverState *bs,
696 NotifierWithReturn *notifier);

--- 252 unchanged lines hidden ---