From: Ian Jackson Subject: Re: [PATCH 1 of 6] libxl: helper function to send commands to traditional qemu Date: Thu, 9 Feb 2012 18:08:34 +0000 Message-ID: <20276.2978.188606.796407@mariner.uk.xensource.com> References: <20bbc4a754a701ef14c9.1327971906@athos.nss.cs.ubc.ca> <1328003207.26983.311.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: rshriram@cs.ubc.ca Cc: Anthony Perard , "brendan@cs.ubc.ca" , "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org Shriram Rajagopalan writes ("Re: [Xen-devel] [PATCH 1 of 6] libxl: helper function to send commands to traditional qemu"): > On Tue, Jan 31, 2012 at 1:46 AM, Ian Campbell wrote: > Every caller to libxl__qemu_traditional_cmd seems to be followed with a > call to libxl__wait_for_device_model -- might be worth pushing that down > into the function? ... > Yes I noticed that. Though some seem to be using the callback while > others dont. This would necessitate another helper function, like > libxl_qemu_traditional_change_state that does both the command and > the state check (if callback supplied). This way people could still > use the libxl_qemu_traditional_cmd for use-cases that dont require a > special state check. But all this is for another , later patch > :P. At the moment, I just want to get the remus framework in :D. Right. Well, your patch was a good cleanup in itself so I have applied it. Thanks, Ian.