From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: [patch 13/24] QEMU/KVM: export get_param_value/check_params Date: Tue, 11 Mar 2008 17:12:04 -0300 Message-ID: <20080311201418.243906797@localhost.localdomain> References: <20080311201151.959635433@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti To: qemu-devel@nongnu.org, kvm-devel@lists.sourceforge.net Return-path: Content-Disposition: inline; filename=export-getparams List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Signed-off-by: Marcelo Tosatti Index: kvm-userspace.hotplug2/qemu/sysemu.h =================================================================== --- kvm-userspace.hotplug2.orig/qemu/sysemu.h +++ kvm-userspace.hotplug2/qemu/sysemu.h @@ -57,6 +57,10 @@ int qemu_live_loadvm_state(QEMUFile *f); void main_loop_wait(int timeout); +int check_params(char *buf, int buf_size, char **params, const char *str); +int get_param_value(char *buf, int buf_size, const char *tag, + const char *str); + /* Polling handling */ /* return TRUE if no sleep should be done afterwards */ Index: kvm-userspace.hotplug2/qemu/vl.c =================================================================== --- kvm-userspace.hotplug2.orig/qemu/vl.c +++ kvm-userspace.hotplug2/qemu/vl.c @@ -4737,8 +4737,8 @@ static const char *get_opt_value(char *b return p; } -static int get_param_value(char *buf, int buf_size, - const char *tag, const char *str) +int get_param_value(char *buf, int buf_size, + const char *tag, const char *str) { const char *p; char option[128]; @@ -4762,8 +4762,8 @@ static int get_param_value(char *buf, in return 0; } -static int check_params(char *buf, int buf_size, - char **params, const char *str) +int check_params(char *buf, int buf_size, + char **params, const char *str) { const char *p; int i; -- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/