Skip to content

Commit

Permalink
KVM: Future-proof the exit information union ABI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Avi Kivity committed Oct 13, 2007
1 parent dad3795 commit 24cbc7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ struct kvm_run {
__u32 longmode;
__u32 pad;
} hypercall;
/* Fix the size of the union. */
char padding[256];
};
};

Expand Down

0 comments on commit 24cbc7e

Please sign in to comment.