public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM_CREATE_VCPU max vcpu ABI
@ 2011-05-07 10:16 Pekka Enberg
  2011-05-07 11:12 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Pekka Enberg @ 2011-05-07 10:16 UTC (permalink / raw)
  To: Avi Kivity, KVM General, Ingo Molnar, Asias He, Cyrill Gorcunov,
	Sasha Levin <levin

Hi!

Documentation/kvm/api.txt says the following:

  4.6 KVM_CREATE_VCPU

  Capability: basic
  Architectures: all
  Type: vm ioctl
  Parameters: vcpu id (apic id on x86)
  Returns: vcpu fd on success, -1 on error

  This API adds a vcpu to a virtual machine.  The vcpu id is a small integer
  in the range [0, max_vcpus).

However, max_vcpus is not specified and I am unable to find ioctl()
which I could use to look it up. Is it specified somewhere? We can, of
course, attempt to create as many VCPUs as possible until
KVM_CREATE_VCPU returns EINVAL...

                        Pekka

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

end of thread, other threads:[~2011-05-07 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07 10:16 KVM_CREATE_VCPU max vcpu ABI Pekka Enberg
2011-05-07 11:12 ` Jan Kiszka
2011-05-07 14:48   ` Pekka Enberg

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