Re: [PATCH 1/2] KVM: device: add simple registration mechanism for kvm_device_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 30/06/2014 19:31, Will Deacon ha scritto:
> It would let Will keep the simpler code with an array, and autogenerate
> KVM_DEV_TYPE_MAX.
Although this is uapi, so we may need to #define the symbols anyway to avoid
breaking userspace #ifndef tests.

What do you reckon; is this an ABI break?

Yes, it would be an API break.  But you can also do this:

#define FOO FOO

I think there are other occurrences of this in uapi/.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux