All of lore.kernel.org
 help / color / mirror / Atom feed
* ioctl number overlap?
@ 2009-06-15 19:09 Beth Kon
  2009-06-15 20:19 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Beth Kon @ 2009-06-15 19:09 UTC (permalink / raw)
  To: kvm

kvm.h has

#define KVM_SET_GUEST_DEBUG       _IOW(KVMIO,  0x9b, struct kvm_guest_debug)

and

#define KVM_IA64_VCPU_SET_STACK   _IOW(KVMIO,  0x9b, void *)

Seems that these could conflict?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ioctl number overlap?
  2009-06-15 19:09 ioctl number overlap? Beth Kon
@ 2009-06-15 20:19 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2009-06-15 20:19 UTC (permalink / raw)
  To: Beth Kon; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Beth Kon wrote:
> kvm.h has
> 
> #define KVM_SET_GUEST_DEBUG       _IOW(KVMIO,  0x9b, struct
> kvm_guest_debug)
> 
> and
> 
> #define KVM_IA64_VCPU_SET_STACK   _IOW(KVMIO,  0x9b, void *)
> 
> Seems that these could conflict?

Argh...

The IA64 world also collides with KVM_NMI - though I have no clue if
NMIs are known to that arch.

The good news is that different structure sizes (and different flags for
0x9a) should resolve the conflict numerically. Still messy, though.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-15 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-15 19:09 ioctl number overlap? Beth Kon
2009-06-15 20:19 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.