[PATCH kvmtool 3/4] virtio/mmio: remove unneeded virtio_mmio_hdr members

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So far "struct virtio_mmio_hdr" was modelled exactly like the virtio
MMIO protocol header, including reserved fields and members unused by
kvmtool.
Since we now no longer need to stay byte-for-byte compatible, drop those
members to clean up the code.

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
---
 include/kvm/virtio-mmio.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/kvm/virtio-mmio.h b/include/kvm/virtio-mmio.h
index aa4cab3c..84848eee 100644
--- a/include/kvm/virtio-mmio.h
+++ b/include/kvm/virtio-mmio.h
@@ -22,22 +22,14 @@ struct virtio_mmio_hdr {
 	u32	vendor_id;
 	u32	host_features;
 	u32	host_features_sel;
-	u32	reserved_1[2];
 	u32	guest_features;
 	u32	guest_features_sel;
 	u32	guest_page_size;
-	u32	reserved_2;
 	u32	queue_sel;
 	u32	queue_num_max;
 	u32	queue_num;
 	u32	queue_align;
-	u32	queue_pfn;
-	u32	reserved_3[3];
-	u32	queue_notify;
-	u32	reserved_4[3];
 	u32	interrupt_state;
-	u32	interrupt_ack;
-	u32	reserved_5[2];
 	u32	status;
 };
 
-- 
2.25.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux