KVM: Make kvm header C++ friendly
authornathan binkert <nate@binkert.org>
Sat, 28 Mar 2009 04:53:05 +0000 (21:53 -0700)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:39 +0000 (11:48 +0300)
commit2f8b9ee14eb439008e0c5131116ea6baa40dba50
tree7c269a25ba379aef925c8cc462232c116f297a37
parentede2ccc51742059d356d419260460cbbf3e36273
KVM: Make kvm header C++ friendly

Two things needed fixing: 1) g++ does not allow a named structure type
within an anonymous union and 2) Avoid name clash between two padding
fields within the same struct by giving them different names as is
done elsewhere in the header.

Signed-off-by: Nathan Binkert <nate@binkert.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm.h