From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Add accessor for kvm->vm_fd Date: Thu, 08 Nov 2007 08:26:24 +0200 Message-ID: <4732AC10.2030804@qumranet.com> References: <200711080015.13694.amit.shah@qumranet.com> <200711080029.05386.amit.shah@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Amit Shah Return-path: In-Reply-To: <200711080029.05386.amit.shah-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 Amit Shah wrote: > With the declaration in libkvm.h this time: > > >From 8313b87bcab415746e6eed86ac3f5b6c562b9764 Mon Sep 17 00:00:00 2001 > From: Amit Shah > Date: Thu, 8 Nov 2007 00:13:07 +0530 > Subject: [PATCH] Add accessor for kvm->vm_fd > > Introduce kvm_get_vm_fd to get the VM FD > > What, so you can issue ioctls like there's no tomorrow? Add function wrappers for your ioctls instead. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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/