block_int.h (e0c47b6cb1de430fbc6f828f7acffa851c580840) block_int.h (0eb7217e49b84553bb30f97bc34380633fd846fe)
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

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

434
435
436/* Essential block drivers which must always be statically linked into qemu, and
437 * which therefore can be accessed without using bdrv_find_format() */
438extern BlockDriver bdrv_file;
439extern BlockDriver bdrv_raw;
440extern BlockDriver bdrv_qcow2;
441
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

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

434
435
436/* Essential block drivers which must always be statically linked into qemu, and
437 * which therefore can be accessed without using bdrv_find_format() */
438extern BlockDriver bdrv_file;
439extern BlockDriver bdrv_raw;
440extern BlockDriver bdrv_qcow2;
441
442/**
443 * bdrv_setup_io_funcs:
444 *
445 * Prepare a #BlockDriver for I/O request processing by populating
446 * unimplemented coroutine and AIO interfaces with generic wrapper functions
447 * that fall back to implemented interfaces.
448 */
449void bdrv_setup_io_funcs(BlockDriver *bdrv);
442
443int get_tmp_filename(char *filename, int size);
444BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size,
445 const char *filename);
446
447void bdrv_set_io_limits(BlockDriverState *bs,
448 ThrottleConfig *cfg);
449

--- 184 unchanged lines hidden ---
450
451int get_tmp_filename(char *filename, int size);
452BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size,
453 const char *filename);
454
455void bdrv_set_io_limits(BlockDriverState *bs,
456 ThrottleConfig *cfg);
457

--- 184 unchanged lines hidden ---