From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4gcT-0003oM-2u for qemu-devel@nongnu.org; Thu, 23 Aug 2012 19:15:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4gcS-00052C-6D for qemu-devel@nongnu.org; Thu, 23 Aug 2012 19:15:20 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:41086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4gcS-00050T-0I for qemu-devel@nongnu.org; Thu, 23 Aug 2012 19:15:20 -0400 Received: from /spool/local by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 23 Aug 2012 17:15:17 -0600 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 8CBF119D8039 for ; Thu, 23 Aug 2012 17:15:14 -0600 (MDT) Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q7NNFDf1162822 for ; Thu, 23 Aug 2012 17:15:13 -0600 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q7NNGZEK028614 for ; Thu, 23 Aug 2012 17:16:35 -0600 From: Michael Wolf Date: Thu, 23 Aug 2012 18:15:11 -0500 Message-ID: <20120823231454.11904.35222.stgit@lambeau> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH RFC 0/2] Add guest cpu entitlement reporting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, mtosatti@redhat.com, stefanha@linux.vnet.ibm.com, avi@redhat.com User can be confused by stealtime when running a guest in either a capped or overcommitted cpu environment. The user has concerns that they are not receiving their full cpu allotment when steal time shows up in the accounting tools. So add a cpu entitlement. This entitlement will be used to compute the amount of steal time display by the accounting tools. Michael Wolf (2): The cpu entitlement value will be passed to qemu as part of the cpu parameters. Add an ioctl to pass the entitlement information from qemu to the hypervisor. --- cpu-defs.h | 1 + cpus.c | 1 + cpus.h | 1 + kvm-all.c | 1 + linux-headers/linux/kvm.h | 2 ++ qemu-options.hx | 7 +++++-- vl.c | 22 +++++++++++++++++++++- 7 files changed, 32 insertions(+), 3 deletions(-)