public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* differences between KVM_GET_API_VERSION and KVM_CREATE_VM which both call _IO
@ 2014-05-10  8:31 Francisc Simon
  0 siblings, 0 replies; only message in thread
From: Francisc Simon @ 2014-05-10  8:31 UTC (permalink / raw)
  To: kvm

Hi,

I try to figure out how this 2 calls:
KVM_GET_API_VERSION
KVM_CREATE_VM
differ from each other because here:
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/include/linux/kvm.h#L351
i see that both call _IO and as far i understood the _IO function only
shifts 8 bits from the given address 0xAE which in fact if i
open /dev/kvm always returns 12. I guess that i missed something or I
misunderstood it. It would be nice to be able to clarify it.

Thank you for your time!

Beste Regards!
Frank :-)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-10  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10  8:31 differences between KVM_GET_API_VERSION and KVM_CREATE_VM which both call _IO Francisc Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox