block_int.h (9a33c0c851829d876fe6c2c7a7f2f415e27f9386) block_int.h (7cddd3728e964164e99c59e5c9443508d9ee0161)
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

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

52#define BLOCK_OPT_PREALLOC "preallocation"
53#define BLOCK_OPT_SUBFMT "subformat"
54#define BLOCK_OPT_COMPAT_LEVEL "compat"
55#define BLOCK_OPT_LAZY_REFCOUNTS "lazy_refcounts"
56#define BLOCK_OPT_ADAPTER_TYPE "adapter_type"
57#define BLOCK_OPT_REDUNDANCY "redundancy"
58#define BLOCK_OPT_NOCOW "nocow"
59
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

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

52#define BLOCK_OPT_PREALLOC "preallocation"
53#define BLOCK_OPT_SUBFMT "subformat"
54#define BLOCK_OPT_COMPAT_LEVEL "compat"
55#define BLOCK_OPT_LAZY_REFCOUNTS "lazy_refcounts"
56#define BLOCK_OPT_ADAPTER_TYPE "adapter_type"
57#define BLOCK_OPT_REDUNDANCY "redundancy"
58#define BLOCK_OPT_NOCOW "nocow"
59
60#define BLOCK_PROBE_BUF_SIZE 512
61
60typedef struct BdrvTrackedRequest {
61 BlockDriverState *bs;
62 int64_t offset;
63 unsigned int bytes;
64 bool is_write;
65
66 bool serialising;
67 int64_t overlap_offset;

--- 529 unchanged lines hidden ---
62typedef struct BdrvTrackedRequest {
63 BlockDriverState *bs;
64 int64_t offset;
65 unsigned int bytes;
66 bool is_write;
67
68 bool serialising;
69 int64_t overlap_offset;

--- 529 unchanged lines hidden ---