public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Francisc Simon <francisc.simon@evalgo.org>
To: kvm@vger.kernel.org
Subject: differences between KVM_GET_API_VERSION and KVM_CREATE_VM which both call _IO
Date: Sat, 10 May 2014 10:31:05 +0200	[thread overview]
Message-ID: <1399710665.2440.9.camel@earth> (raw)

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



                 reply	other threads:[~2014-05-10  8:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1399710665.2440.9.camel@earth \
    --to=francisc.simon@evalgo.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox