From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: [kvm-ppc-devel] RFC/patch portability: split kvm_vm_ioctl v2 Date: Fri, 26 Oct 2007 10:17:07 +0200 Message-ID: <4721A283.30105@de.ibm.com> References: <1192192452.7630.16.camel@cotte.boeblingen.de.ibm.com> <1193327325.8345.9.camel@cotte.boeblingen.de.ibm.com> <1193327326.3284.2.camel@izike-woof.qumranet.com> <1193329322.28279.21.camel@basalt> <472114B6.6080000@qumranet.com> <1193345465.28279.47.camel@basalt> <47211F86.1030504@qumranet.com> <472132A4.604@qumranet.com> Reply-To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , kvm-ppc-devel , "Zhang, Xiantao" , Hollis Blanchard To: Izik Eidus Return-path: In-Reply-To: <472132A4.604-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 Izik Eidus wrote: > btw, if you look at kvmctl, we already do it, > so it is good question if it better to leave this work to userspace > (like it do now) > or do the mapping to userspace from the kernel to userspace (using the > mmap syscall) > > (i like the secoend option beacuse it would be easier to work with qemu > like this) I think we should leave it to userland. This was userland is free to use whatever it wants: - malloc() to get anonymous memory - mmap() to get file backed memory - posix or sysv shared memory - hugetlbfs to save translation steps so long, Carsten ------------------------------------------------------------------------- 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/