[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 06/11] pc-bios/s390-ccw: Remove unused structs fr
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PATCH v5 06/11] pc-bios/s390-ccw: Remove unused structs from virtio.h |
Date: |
Wed, 12 Jul 2017 14:49:48 +0200 |
Looks like they have never been used, so let's simply remove them.
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
pc-bios/s390-ccw/virtio.h | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/pc-bios/s390-ccw/virtio.h b/pc-bios/s390-ccw/virtio.h
index 024e9a6..d733780 100644
--- a/pc-bios/s390-ccw/virtio.h
+++ b/pc-bios/s390-ccw/virtio.h
@@ -32,24 +32,6 @@ enum VirtioDevType {
};
typedef enum VirtioDevType VirtioDevType;
-struct VirtioDevHeader {
- VirtioDevType type:8;
- uint8_t num_vq;
- uint8_t feature_len;
- uint8_t config_len;
- uint8_t status;
- uint8_t vqconfig[];
-} __attribute__((packed));
-typedef struct VirtioDevHeader VirtioDevHeader;
-
-struct VirtioVqConfig {
- uint64_t token;
- uint64_t address;
- uint16_t num;
- uint8_t pad[6];
-} __attribute__((packed));
-typedef struct VirtioVqConfig VirtioVqConfig;
-
struct VqInfo {
uint64_t queue;
uint32_t align;
@@ -64,15 +46,6 @@ struct VqConfig {
} __attribute__((packed));
typedef struct VqConfig VqConfig;
-struct VirtioDev {
- VirtioDevHeader *header;
- VirtioVqConfig *vqconfig;
- char *host_features;
- char *guest_features;
- char *config;
-};
-typedef struct VirtioDev VirtioDev;
-
#define VIRTIO_RING_SIZE (PAGE_SIZE * 8)
#define VIRTIO_MAX_VQS 3
#define KVM_S390_VIRTIO_RING_ALIGN 4096
--
1.8.3.1
- [Qemu-devel] [PATCH v5 00/11] Implement network booting in the s390-ccw BIOS, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 01/11] pc-bios/s390-ccw: Move libc functions to separate header, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 02/11] pc-bios/s390-ccw: Move ebc2asc to sclp.c, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 03/11] pc-bios/s390-ccw: Move virtio-block related functions into a separate file, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 04/11] pc-bios/s390-ccw: Add a write() function for stdio, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 05/11] pc-bios/s390-ccw: Move byteswap functions to a separate header, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 06/11] pc-bios/s390-ccw: Remove unused structs from virtio.h,
Thomas Huth <=
- [Qemu-devel] [PATCH v5 07/11] pc-bios/s390-ccw: Add code for virtio feature negotiation, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 08/11] roms/SLOF: Update submodule to latest status, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 09/11] pc-bios/s390-ccw: Add core files for the network bootloading program, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 10/11] pc-bios/s390-ccw: Add virtio-net driver code, Thomas Huth, 2017/07/12
- [Qemu-devel] [PATCH v5 11/11] pc-bios/s390-ccw: Link libnet into the netboot image and do the TFTP load, Thomas Huth, 2017/07/12
- Re: [Qemu-devel] [PATCH v5 00/11] Implement network booting in the s390-ccw BIOS, Christian Borntraeger, 2017/07/12
- Re: [Qemu-devel] [PATCH v5 00/11] Implement network booting in the s390-ccw BIOS, no-reply, 2017/07/12
- Re: [Qemu-devel] [PATCH v5 00/11] Implement network booting in the s390-ccw BIOS, Viktor Mihajlovski, 2017/07/13