Skip to contentSkip to conversation

Revert "vhost: make msg padding explicit"

PATCH Applied Michael S. Tsirkin 2 participants 3 messages May 2, 2018

Subsystems (5)
lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

PATCH 1/1 Revert "vhost: make msg padding explicit"

This reverts commit 93c0d549c4c5a7382ad70de6b86610b7aae57406.

Unfortunately the padding will break 32 bit userspace. Ouch. Need to add some compat code, revert for now.

---
 include/uapi/linux/vhost.h | 1 -
 1 file changed, 1 deletion(-)
include/uapi/linux/vhost.h +0 -1
index 5a8ad06..c51f8e5 100644
@@ -68,7 +68,6 @@ struct vhost_iotlb_msg {
 
 struct vhost_msg {
 	int type;
-	int padding0;
 	union {
 		struct vhost_iotlb_msg iotlb;
 		__u8 padding[64];
Signature · 1 line
MST
maintainer Applied
#1 lore raw

From: "Michael S. Tsirkin" <[email protected]>
Date: Wed, 2 May 2018 17:19:05 +0300

Quoted 6 lines

This reverts commit 93c0d549c4c5a7382ad70de6b86610b7aae57406.

Unfortunately the padding will break 32 bit userspace. Ouch. Need to add some compat code, revert for now.

Applied, thanks Michael.