From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Proposal] QEMU-KVM Interface for granting Performance Monitor to guests Date: Tue, 12 Apr 2011 17:39:01 +0300 Message-ID: <4DA46405.2050308@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" , "bharatb.yadav@gmail.com" To: Bhushan Bharat-R65777 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:46926 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932480Ab1DLOjI (ORCPT ); Tue, 12 Apr 2011 10:39:08 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 04/12/2011 10:29 AM, Bhushan Bharat-R65777 wrote: > Hi All, > > The proposal is to about defining the qemu-kvm interface for reserving the performance monitor for guest(guests) in Embedded Power Architecture. The plan is to reserve the Performance Monitor for guest/s on guest boot-up and will be released only on guest reset/exit. If a Performance Monitor reserved by host then it can't be reserved for guest and vice-versa. So when Performance monitor is reserved by host then performance monitor can't be used by guests and if reserved by guest then it should not be used by host. In general we greatly prefer sharing vs. reservation (there are exceptions, for example PCI device assignment). Is there a compelling reason to assign the performance monitor to a single guest? -- error compiling committee.c: too many arguments to function