kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: nitin.a.kamble@intel.com
Cc: "Nakajima, Jun" <jun.nakajima@intel.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"kraxel@redhat.com" <kraxel@redhat.com>,
	"chrisw@sous-sol.org" <chrisw@sous-sol.org>
Subject: Re: [Patch 3] thread/core siblings info for guests
Date: Thu, 06 Nov 2008 15:20:42 +0200	[thread overview]
Message-ID: <4912EF2A.5030402@redhat.com> (raw)
In-Reply-To: <1225931121.18973.11.camel@lnitindesktop.sc.intel.com>

Nitin A Kamble wrote:
> Hi Avi,
>    This patch cover's the kernel ABI change as we discussed in the
> earlier email.
>
> Patch Description:
>
> Change the ioctl KVM_GET_SUPPORTED_CPUID, such that it will return the
> no of entries in the list when requested no of entries (nent) is 0.
>     
> Also add another KVM_CHECK_EXTENSION, KVM_CAP_CPUID_SIZER to determine
> if the running kernel supports the above changed ABI.
>   

The capability itself can return the count; for example

  case KVM_CAP_NR_CPUID_LEAVES:
      return KVM_MAX_CPUID_ENTRIES;

which is simpler to use and shorter.

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


  reply	other threads:[~2008-11-06 13:20 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 20:35 thread/core siblings info for guests Kamble, Nitin A
2008-10-05  9:44 ` Avi Kivity
2008-10-06 10:23   ` Gerd Hoffmann
2008-10-06 18:01   ` Kamble, Nitin A
2008-10-06 20:54     ` Chris Wright
2008-10-17 22:45   ` Nitin A Kamble
2008-10-18  0:18     ` Alexander Graf
2008-10-20 16:46       ` Kamble, Nitin A
2008-10-19  9:29     ` Avi Kivity
2008-10-20 18:37       ` Nitin A Kamble
2008-10-21  8:52         ` Avi Kivity
2008-10-31 16:47       ` Nitin A Kamble
2008-11-04 14:59         ` Avi Kivity
2008-11-04 19:02           ` Nitin A Kamble
2008-11-05  6:38             ` Avi Kivity
2008-11-05 23:37               ` [Patch 1] " Nitin A Kamble
2008-11-06 13:10                 ` Avi Kivity
2008-11-05 23:56               ` [patch 2] " Nitin A Kamble
2008-11-06 13:18                 ` Avi Kivity
2008-11-06  0:25               ` [Patch 3] " Nitin A Kamble
2008-11-06 13:20                 ` Avi Kivity [this message]
2008-11-06 18:01                   ` Kamble, Nitin A
2008-11-16 13:26                     ` Avi Kivity
2008-11-18  0:09                       ` Nitin A Kamble

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=4912EF2A.5030402@redhat.com \
    --to=avi@redhat.com \
    --cc=chrisw@sous-sol.org \
    --cc=jun.nakajima@intel.com \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=nitin.a.kamble@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).