Commit-ID: 9ad420f5b7008bb339902049f79f36aac29d9232 Gitweb: http://git.kernel.org/tip/9ad420f5b7008bb339902049f79f36aac29d9232 Author: Ingo Molnar <mingo@xxxxxxxxxx> AuthorDate: Fri, 1 May 2015 16:21:39 +0200 Committer: Ingo Molnar <mingo@xxxxxxxxxx> CommitDate: Fri, 1 May 2015 16:21:39 +0200 kvmtool: Add virtio types for recent upstream changes Add __virtio16/32/64 types for the virtio header to be includable into tooling. Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx> --- tools/kvm/include/linux/types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/kvm/include/linux/types.h b/tools/kvm/include/linux/types.h index 5e20f10..27ef3c7 100644 --- a/tools/kvm/include/linux/types.h +++ b/tools/kvm/include/linux/types.h @@ -48,4 +48,8 @@ struct hlist_node { struct hlist_node *next, **pprev; }; +typedef __u16 __bitwise__ __virtio16; +typedef __u32 __bitwise__ __virtio32; +typedef __u64 __bitwise__ __virtio64; + #endif /* LINUX_TYPES_H */ -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |