From: Pekka Enberg Date: Sun, 24 Jul 2011 09:13:49 +0000 (+0300) Subject: kvm tools: Fix formatting in include/kvm/qcow.h X-Git-Tag: next-20110824~3^2~81 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e9db2caa1a0c2c0e2ad1f51c729317c9260cfe94;p=karo-tx-linux.git kvm tools: Fix formatting in include/kvm/qcow.h The include/kvm/qcow.h has mixed tabs and spaces. Fix that up. Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/include/kvm/qcow.h b/tools/kvm/include/kvm/qcow.h index 7e06e1095e69..64629439981f 100644 --- a/tools/kvm/include/kvm/qcow.h +++ b/tools/kvm/include/kvm/qcow.h @@ -23,74 +23,74 @@ #define MAX_CACHE_NODES 32 struct qcow_l2_table { - u64 offset; - struct rb_node node; - struct list_head list; - u8 dirty; - u64 table[]; + u64 offset; + struct rb_node node; + struct list_head list; + u8 dirty; + u64 table[]; }; struct qcow_l1_table { - u32 table_size; - u64 *l1_table; + u32 table_size; + u64 *l1_table; }; struct qcow { - pthread_mutex_t mutex; - void *header; - struct qcow_l1_table table; - int fd; + pthread_mutex_t mutex; + void *header; + struct qcow_l1_table table; + int fd; /* Level2 caching data structures */ - struct rb_root root; - struct list_head lru_list; - int nr_cached; + struct rb_root root; + struct list_head lru_list; + int nr_cached; }; struct qcow_header { - u64 size; /* in bytes */ - u64 l1_table_offset; - u32 l1_size; - u8 cluster_bits; - u8 l2_bits; + u64 size; /* in bytes */ + u64 l1_table_offset; + u32 l1_size; + u8 cluster_bits; + u8 l2_bits; }; struct qcow1_header_disk { - u32 magic; - u32 version; + u32 magic; + u32 version; - u64 backing_file_offset; - u32 backing_file_size; - u32 mtime; + u64 backing_file_offset; + u32 backing_file_size; + u32 mtime; - u64 size; /* in bytes */ + u64 size; /* in bytes */ - u8 cluster_bits; - u8 l2_bits; - u32 crypt_method; + u8 cluster_bits; + u8 l2_bits; + u32 crypt_method; - u64 l1_table_offset; + u64 l1_table_offset; }; struct qcow2_header_disk { - u32 magic; - u32 version; + u32 magic; + u32 version; - u64 backing_file_offset; - u32 backing_file_size; + u64 backing_file_offset; + u32 backing_file_size; - u32 cluster_bits; - u64 size; /* in bytes */ - u32 crypt_method; + u32 cluster_bits; + u64 size; /* in bytes */ + u32 crypt_method; - u32 l1_size; - u64 l1_table_offset; + u32 l1_size; + u64 l1_table_offset; - u64 refcount_table_offset; - u32 refcount_table_clusters; + u64 refcount_table_offset; + u32 refcount_table_clusters; - u32 nb_snapshots; - u64 snapshots_offset; + u32 nb_snapshots; + u64 snapshots_offset; }; struct disk_image *qcow_probe(int fd, bool readonly);