From mboxrd@z Thu Jan 1 00:00:00 1970 From: anthony.perard@citrix.com Subject: [PATCH v2 0/3] libxl, Handle the command line options of qemu 0.12. Date: Fri, 6 Aug 2010 18:23:42 +0100 Message-ID: <1281115425-8417-1-git-send-email-anthony.perard@citrix.com> References: <1280938265-12107-1-git-send-email-anthony.perard@citrix.com> Return-path: In-Reply-To: <1280938265-12107-1-git-send-email-anthony.perard@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Anthony PERARD , Stefano.Stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org From: Anthony PERARD This patch gives the ability to the libxl to handle the command line argument of the last qemu version. I begin by checking the version of the device model with '-h' options, '--version' is not handled in qemu-xen. If I found a version upper than 0.12, I use the new command line argument, or else I use the old functions to build args. The second patch introduces a udev rule to handle tap devices and add them to the bridge instead of using a script called by qemu. Anthony PERARD (3): libxl, Fix name of tap device. libxl, Introduce the command line handler for the new qemu. tools/hotplug, Use udev rules instead of qemu script to setup the bridge. tools/hotplug/Linux/vif-bridge | 20 +++-- tools/hotplug/Linux/vif-common.sh | 70 ++++++++++---- tools/hotplug/Linux/xen-backend.rules | 5 +- tools/libxl/libxl.c | 164 ++++++++++++++++++++++++++++++++- tools/libxl/libxl_utils.c | 78 ++++++++++++++++ tools/libxl/libxl_utils.h | 6 + 6 files changed, 312 insertions(+), 31 deletions(-)