Re: ioctl number overlapped?

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

 



On 07/21/2009 09:51 AM, Gleb Natapov wrote:
On Tue, Jul 21, 2009 at 02:46:44PM +0800, Yang, Sheng wrote:
Happen to see this:

include/linux.kvm.h

503 #define KVM_IRQ_LINE_STATUS       _IOWR(KVMIO, 0x67, struct kvm_irq_level)
504 #define KVM_REGISTER_COALESCED_MMIO \
505                         _IOW(KVMIO,  0x67, struct kvm_coalesced_mmio_zone)

Both ioctl use 0x67, and the code has released to v2.6.30...

I don't think they are really overlapping. One of them is RW another W
(haven't checked if the structure sizeof is different).


Nevertheless we shouldn't do this.

--
error compiling committee.c: too many arguments to function

--
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