Re: Fix to issues with kvm.h and g++

nathan binkert
2009-03-18T20:19:40Z

>> http://www.mail-archive.com/kvm@vger.kernel.org/msg06423.html
>>
>
> There was no followup so the issue was dropped.  If you send a patch I'll
> apply it.
The OP's patch is correct. I grepped all of kvm-84 and the only
instance of kvm_io is that one that is removed in the diff. That
said, if you'd still prefer it moved outside, I can send a new patch.
How does one obtain a "signoff"

The changelog entry can be:

KVM: Make kvm header compile under g++.
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.

Thanks,
Nate