diff --git a/hw/xen_blkif.h b/hw/xen_blkif.h index 738b8fe..f47f9a4 100644 --- a/hw/xen_blkif.h +++ b/hw/xen_blkif.h @@ -1,5 +1,5 @@ -#ifndef __XEN_BLKIF_H__ -#define __XEN_BLKIF_H__ +#ifndef __QEMU_BLKIF_H__ +#define __QEMU_BLKIF_H__ #include #include @@ -17,7 +17,6 @@ struct blkif_common_response { }; /* i386 protocol version */ -#pragma pack(push, 4) struct blkif_x86_32_request { uint8_t operation; /* BLKIF_OP_??? */ uint8_t nr_segments; /* number of segments */ @@ -33,7 +32,6 @@ struct blkif_x86_32_response { }; typedef struct blkif_x86_32_request blkif_x86_32_request_t; typedef struct blkif_x86_32_response blkif_x86_32_response_t; -#pragma pack(pop) /* x86_64 protocol version */ struct blkif_x86_64_request { @@ -100,4 +98,4 @@ static void inline blkif_get_x86_64_req(blkif_request_t *dst, blkif_x86_64_reque dst->seg[i] = src->seg[i]; } -#endif /* __XEN_BLKIF_H__ */ +#endif /* __QEMU_BLKIF_H__ */