KVM: Future-proof the exit information union ABI

Note that as the size of struct kvm_run is not part of the ABI, we can add
things at the end.

Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
Avi Kivity 2007-07-17 11:45:55 +03:00
parent dad3795d2b
commit 24cbc7e9cb
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ struct kvm_run {
__u32 longmode; __u32 longmode;
__u32 pad; __u32 pad;
} hypercall; } hypercall;
/* Fix the size of the union. */
char padding[256];
}; };
}; };