From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: VM id in KVM? Date: Tue, 24 Jul 2007 15:59:13 +1000 Message-ID: <1185256753.1803.207.camel@localhost.localdomain> References: <46A48B63.2030202@qumranet.com> <46A48D0E.1040803@de.ibm.com> <46A48E65.6090105@qumranet.com> <46A48ECD.7020809@qumranet.com> <20070723133234.GA31631@redhat.com> <1185231355.1803.22.camel@localhost.localdomain> <46A58B52.9010405@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, kvm-devel To: Avi Kivity Return-path: In-Reply-To: <46A58B52.9010405-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Tue, 2007-07-24 at 08:17 +0300, Avi Kivity wrote: > With the ioctl interface, vms aren't really tied to tasks. True, but this is really a debugging aid. > How about current->pid (or with struct pid and containers, probably > current->something->something->pid)? I was reluctant because there's nothing inherent in this function which says it's the current CPU's guest we're complaining about. ...Although, it always is. OK, I'm convinced. Cheers, Rusty. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/