From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC] Unify KVM kernel-space and user-space code into a single project Date: Wed, 24 Mar 2010 17:49:42 +0200 Message-ID: <4BAA3496.2010901@redhat.com> References: <20100323182153.GA14800@8bytes.org> <4BA99BCB.5080501@redhat.com> <20100324115900.GB14800@8bytes.org> <4BAA00B1.20407@redhat.com> <20100324125043.GC14800@8bytes.org> <4BAA0DFE.1080700@redhat.com> <20100324134642.GD14800@8bytes.org> <4BAA1A53.20207@redhat.com> <20100324150137.GE14800@8bytes.org> <4BAA2BF7.4060407@redhat.com> <20100324154605.GG14800@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , Ingo Molnar , Pekka Enberg , "Zhang, Yanmin" , Peter Zijlstra , Sheng Yang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Marcelo Tosatti , Jes Sorensen , Gleb Natapov , ziteng.huang@intel.com, Arnaldo Carvalho de Melo , Fr?d?ric Weisbecker , Gregory Haskins To: Joerg Roedel Return-path: Received: from mx1.redhat.com ([209.132.183.28]:62313 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747Ab0CXPuC (ORCPT ); Wed, 24 Mar 2010 11:50:02 -0400 In-Reply-To: <20100324154605.GG14800@8bytes.org> Sender: kvm-owner@vger.kernel.org List-ID: On 03/24/2010 05:46 PM, Joerg Roedel wrote: > On Wed, Mar 24, 2010 at 05:12:55PM +0200, Avi Kivity wrote: > >> On 03/24/2010 05:01 PM, Joerg Roedel wrote: >> >>> $ cd /sys/kvm/guest0 >>> $ ls -l >>> -r-------- 1 root root 0 2009-08-17 12:05 name >>> dr-x------ 1 root root 0 2009-08-17 12:05 fs >>> $ cat name >>> guest0 >>> $ # ... >>> >>> The fs/ directory is used as the mount point for the guest root fs. >>> >> The problem is /sys/kvm, not /sys/kvm/fs. >> > I am not tied to /sys/kvm. We could also use /proc//kvm/ for > example. This would keep anything in the process space (except for the > global list of VMs which we should have anyway). > How about ~/.qemu/guests/$pid? -- error compiling committee.c: too many arguments to function