Re: [libvirt] (no subject)

2011-12-09 Thread Osier Yang
On 2011年12月07日 17:16, Daniel P. Berrange wrote: On Wed, Dec 07, 2011 at 08:21:06AM +0200, Sasha Levin wrote: On Tue, 2011-12-06 at 14:38 +, Daniel P. Berrange wrote: On Fri, Nov 11, 2011 at 07:56:58PM +0800, Osier Yang wrote: * KVM tool manages the network completely itself (with DHCP

Re: [libvirt] (no subject)

2011-12-09 Thread Osier Yang
On 2011年12月07日 14:21, Sasha Levin wrote: On Tue, 2011-12-06 at 14:38 +, Daniel P. Berrange wrote: On Fri, Nov 11, 2011 at 07:56:58PM +0800, Osier Yang wrote: * Lacks of options for user's configuration, such as "-vnc", there is no option for user to configure the pro

Re: [libvirt] (no subject)

2011-12-09 Thread Osier Yang
On 2011年12月06日 22:38, Daniel P. Berrange wrote: On Fri, Nov 11, 2011 at 07:56:58PM +0800, Osier Yang wrote: Hi, all This is a basic implementation of libvirt Native Linux KVM Tool driver. Note that this is just made with my own interest and spare time, it's not an endorsement/effort by Re

Re: [libvirt] [PATCH 7/7] kvmtool: Implementation for kvm tool driver

2011-12-08 Thread Osier Yang
On 2011年12月06日 22:55, Daniel P. Berrange wrote: On Fri, Nov 11, 2011 at 07:57:06PM +0800, Osier Yang wrote: Basically, the drivers is implemented by using kvm tool binary currently, (see ./kvm help for more info). Current implementation supports define/undefine, start/destroy/, suspend/resume

Re: [libvirt] [PATCH 5/7] kvmtool: Add new domain type

2011-12-08 Thread Osier Yang
On 2011年12月06日 22:46, Daniel P. Berrange wrote: On Fri, Nov 11, 2011 at 07:57:04PM +0800, Osier Yang wrote: It's named as "kvmtool". --- src/conf/domain_conf.c |4 +++- src/conf/domain_conf.h |1 + 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/con

Re: [libvirt] [PATCH] kvm tools: Introduce an ENV variable for the state dir

2011-12-08 Thread Osier Yang
On 2011年12月06日 22:39, Daniel P. Berrange wrote: On Fri, Nov 11, 2011 at 07:57:00PM +0800, Osier Yang wrote: Which is named as "KVMTOOL_STATE_DIR", so that the user can configure the path of state directly as he wants. --- tools/kvm/main.c |7 ++- 1 files changed, 6 insert

Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-08 Thread Osier Yang
example: kvm run -n mode=tap,fd=3 3<>/dev/net/tap3 Cc: Daniel P. Berrange Cc: Osier Yang Signed-off-by: Sasha Levin Daniel, Osier, I assume this is useful for libvirt? Yes, this works. Applied, thanks! /me late to see the news. :) I'm going to update the codes to s

Re: [libvirt] Add driver support for Native Linux KVM Tool

2011-11-11 Thread Osier Yang
Sorry, I missed the title. :( Osier On 11/11/2011 07:56 PM, Osier Yang wrote: Hi, all This is a basic implementation of libvirt Native Linux KVM Tool driver. Note that this is just made with my own interest and spare time, it's not an endorsement/effort by Red Hat, and it isn't su

Re: [PATCH] kvm tools: Beautify kvm list output

2011-10-25 Thread Osier Yang
于 2011年10月26日 14:43, Osier Yang 写道: > With the patch, output of "kvm list" will be: > > % ./kvm list >PID NAME STATE > > 5270 test running > test shut off > defa

Re: [PATCH] kvm tools: Fix SDL exit on window close

2011-10-25 Thread Osier Yang
于 2011年10月25日 19:46, Sasha Levin 写道: > We've changed IPC to use sockets instead of signals, but the process of > closing the SDL window was still trigerring an exit signal causing > an ugly message and not cleaning up after itself. > > This patch switches that to use the proper method of cleaning u

Re: [PATCH] kvm tools: Add method to stop ipc thread

2011-10-25 Thread Osier Yang
于 2011年10月25日 18:40, Sasha Levin 写道: > Stop the ipc thread when shutting down the hypervisor. > > This solves a bug where the .sock files weren't removed upon shutdown. I tested the patch, the socket is still there. (I'm testing with "--sdl", and shutdown the vm window). And the guest starting suc