Re: [libvirt] XML support for arbitrary command line arguments

2010-09-13 Thread Harsh Bora
Hi Eric, thanks for an early response. I came across an interesting feature provided by VirtualBox and which is supported by QEMU as well (with 9p server in place) of sharing a folder on host with the guest. As the shared folder is on same physical machine, one need not necessarily use nfs/cifs

Re: [libvirt] [PATCH] virsh: rework command parsing

2010-09-13 Thread Lai Jiangshan
On 09/13/2010 11:03 PM, Eric Blake wrote: > On 09/13/2010 01:41 AM, Lai Jiangshan wrote: >> And the usage was changed: >> old: >> virsh [options] [commands] >> >> new: >> virsh [options]... [commands string] >> virsh [options]... [ [command options]...] > > This needs a tweak, otherwise, executin

Re: [libvirt] [PATCH] virsh: rework command parsing

2010-09-13 Thread Lai Jiangshan
On 09/13/2010 11:03 PM, Eric Blake wrote: > On 09/13/2010 01:41 AM, Lai Jiangshan wrote: >> And the usage was changed: >> old: >> virsh [options] [commands] >> >> new: >> virsh [options]... [commands string] >> virsh [options]... [ [command options]...] > > This needs a tweak, otherwise, executin

Re: [libvirt] Remote access form windows - Java bindings

2010-09-13 Thread Bryan Kearney
Google will point you to several references on from this mailing list on this topic. -- bk On 09/13/2010 10:55 AM, Gandhiraj Natarajan wrote: Hi Where can i find the below entries in remote system ./configure \ --without-sasl \ --without-avahi \ --without-polkit \ --without-pytho

Re: [libvirt] XML support for arbitrary command line arguments

2010-09-13 Thread Eric Blake
On 09/13/2010 11:56 AM, Harsh Bora wrote: Hi, Is there a way by which I can pass arbitrary command line args to a hypervisor (Qemu), and let the hypervisor decide what to do with it? I mean, is there a generic XML tag define which can be used to specify 'n' number of command line args which are

[libvirt] XML support for arbitrary command line arguments

2010-09-13 Thread Harsh Bora
Hi, Is there a way by which I can pass arbitrary command line args to a hypervisor (Qemu), and let the hypervisor decide what to do with it? I mean, is there a generic XML tag define which can be used to specify 'n' number of command line args which are blindly passed to hypervisor to process

Re: [libvirt] [PATCH] docs: improve wording for the dev guide

2010-09-13 Thread Justin Clift
On 09/14/2010 12:58 AM, Eric Blake wrote: On 09/13/2010 01:32 AM, Justin Clift wrote: Wording tweak suggested by David Jorm, author of the libvirt App Dev Guide. --- docs/devguide.html.in | 14 +++--- docs/downloads.html.in | 14 +++--- 2 files changed, 14 insertions(+), 14 deletio

Re: [libvirt] [PATCH] virsh: rework command parsing (was: Re: Question, how to use virDomainQemuMonitorCommand())

2010-09-13 Thread Daniel P. Berrange
On Mon, Sep 13, 2010 at 03:41:51PM +0800, Lai Jiangshan wrote: > On 09/09/2010 09:07 PM, Daniel P. Berrange wrote: > > > > While re-writing the command line mashing to not loose quotes would be > > nice, the more obvious fix is to not mash all the args back into a > > string at all. The virsh comm

Re: [libvirt] [PATCH] virsh: rework command parsing

2010-09-13 Thread Eric Blake
On 09/13/2010 01:41 AM, Lai Jiangshan wrote: And the usage was changed: old: virsh [options] [commands] new: virsh [options]... [commands string] virsh [options]... [ [command options]...] This needs a tweak, otherwise, executing: virsh ambiguously matches both forms. In general, you shoul

Re: [libvirt] [PATCH] docs: improve wording for the dev guide

2010-09-13 Thread Eric Blake
On 09/13/2010 01:32 AM, Justin Clift wrote: Wording tweak suggested by David Jorm, author of the libvirt App Dev Guide. --- docs/devguide.html.in | 14 +++--- docs/downloads.html.in | 14 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) ACK. -- Eric Blake eb

Re: [libvirt] Remote access form windows - Java bindings

2010-09-13 Thread Gandhiraj Natarajan
Hi Where can i find the below entries in remote system ./configure \ --without-sasl \ --without-avahi \ --without-polkit \ --without-python \ --without-xen \ --without-qemu \ --without-lxc \ --without-openvz \ --without-libvirtd Any samples to make a connection from remote syst

Re: [libvirt] RFC [3/3]: Lock manager usage scenarios

2010-09-13 Thread Daniel P. Berrange
On Mon, Sep 13, 2010 at 03:49:38PM +0200, Saggi Mizrahi wrote: > On Mon, 2010-09-13 at 14:29 +0100, Daniel P. Berrange wrote: > > On Mon, Sep 13, 2010 at 03:20:13PM +0200, Saggi Mizrahi wrote: > > > On Mon, 2010-09-13 at 13:35 +0100, Daniel P. Berrange wrote: > > > > > > > > > > Overall, this look

Re: [libvirt] Remote access form windows - Java bindings

2010-09-13 Thread Matthias Bolte
2010/9/13 Bryan Kearney : > On 09/12/2010 11:06 PM, Gandhiraj Natarajan wrote: >> >> Hi BK >> >> Yes, I am running on windows. Is there any difference between the jar >> files (linux and windows). > > The jar files should be the same. > >> >> How can i compile the source for windows. > > You will n

Re: [libvirt] RFC [3/3]: Lock manager usage scenarios

2010-09-13 Thread Saggi Mizrahi
On Mon, 2010-09-13 at 14:29 +0100, Daniel P. Berrange wrote: > On Mon, Sep 13, 2010 at 03:20:13PM +0200, Saggi Mizrahi wrote: > > On Mon, 2010-09-13 at 13:35 +0100, Daniel P. Berrange wrote: > > > > > > > > Overall, this looks workable to me. As proposed, this assumes a 1:1 > > > > relation betw

Re: [libvirt] Remote access form windows - Java bindings

2010-09-13 Thread Bryan Kearney
On 09/12/2010 11:06 PM, Gandhiraj Natarajan wrote: Hi BK Yes, I am running on windows. Is there any difference between the jar files (linux and windows). The jar files should be the same. How can i compile the source for windows. You will need to look at this page: http://libvirt.org/win

Re: [libvirt] RFC [3/3]: Lock manager usage scenarios

2010-09-13 Thread Daniel P. Berrange
On Mon, Sep 13, 2010 at 03:20:13PM +0200, Saggi Mizrahi wrote: > On Mon, 2010-09-13 at 13:35 +0100, Daniel P. Berrange wrote: > > > > > > Overall, this looks workable to me. As proposed, this assumes a 1:1 > > > relation between LockManager process and managed VMs. But I guess you > > > can st

Re: [libvirt] RFC [3/3]: Lock manager usage scenarios

2010-09-13 Thread Saggi Mizrahi
On Mon, 2010-09-13 at 13:35 +0100, Daniel P. Berrange wrote: > On Fri, Sep 10, 2010 at 02:39:41PM -0600, Eric Blake wrote: > > On 09/10/2010 10:01 AM, Daniel P. Berrange wrote: > > > > > >At libvirtd startup: > > > > > > driver = virLockManagerPluginLoad("sync-manager"); > > > > > > > > >At libvi

Re: [libvirt] RFC [3/3]: Lock manager usage scenarios

2010-09-13 Thread Daniel P. Berrange
On Fri, Sep 10, 2010 at 02:39:41PM -0600, Eric Blake wrote: > On 09/10/2010 10:01 AM, Daniel P. Berrange wrote: > > > >At libvirtd startup: > > > > driver = virLockManagerPluginLoad("sync-manager"); > > > > > >At libvirtd shtudown: > > > > virLockManagerPluginUnload(driver) > > Can you load mo

Re: [libvirt] RFC [2/3]: The lock manager plugin driver API

2010-09-13 Thread Daniel P. Berrange
On Fri, Sep 10, 2010 at 02:01:16PM -0600, Eric Blake wrote: > On 09/10/2010 10:00 AM, Daniel P. Berrange wrote: > > > >typedef struct _virLockManagerDriver virLockManagerDriver; > >typedef virLockManagerDriver *virLockManagerDriverPtr; > > > >/* Which callbacks are supported */ > >typedef enum { >

Re: [libvirt] RFC [1/3]: The internal lock manager API

2010-09-13 Thread Daniel P. Berrange
On Fri, Sep 10, 2010 at 01:50:56PM -0600, Eric Blake wrote: > On 09/10/2010 10:00 AM, Daniel P. Berrange wrote: > >/** > > * virLockManagerSetParameter: > > * @manager: the lock manager context > > * @key: the parameter name > > * @value: the parameter value > > * > > * Set a configuration pa

Re: [libvirt] RFC [1/3]: The internal lock manager API

2010-09-13 Thread Daniel P. Berrange
On Sun, Sep 12, 2010 at 02:22:04PM +0200, Saggi Mizrahi wrote: > On Fri, 2010-09-10 at 17:00 +0100, Daniel P. Berrange wrote: > > > > enum { > > VIR_LOCK_MANAGER_NEW_MIGRATE = (1 << 0), > > VIR_LOCK_MANAGER_NEW_ATTACH = (1 << 1), > > } virLockManagerNewFlags; > > > > enum { > > VIR_L

[libvirt] [PATCH] tests: Fix preprocessor indentation

2010-09-13 Thread Jiri Denemark
--- Pushed as obvious to fix make syntax-check failure. tests/virbuftest.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/virbuftest.c b/tests/virbuftest.c index d8258fc..db08fc4 100644 --- a/tests/virbuftest.c +++ b/tests/virbuftest.c @@ -70,7 +70,7 @@ mymain(in

[libvirt] [PATCH] virsh: rework command parsing (was: Re: Question, how to use virDomainQemuMonitorCommand())

2010-09-13 Thread Lai Jiangshan
On 09/09/2010 09:07 PM, Daniel P. Berrange wrote: > On Thu, Sep 09, 2010 at 08:52:13AM -0400, Chris Lalancette wrote: >> On 09/09/10 - 04:52:25PM, Lai Jiangshan wrote: >>> On 09/07/2010 09:22 PM, Chris Lalancette wrote: On 09/07/10 - 04:08:13PM, Lai Jiangshan wrote: > Hi, Chris, >

[libvirt] [PATCH] docs: improve wording for the dev guide

2010-09-13 Thread Justin Clift
Wording tweak suggested by David Jorm, author of the libvirt App Dev Guide. --- docs/devguide.html.in | 14 +++--- docs/downloads.html.in | 14 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/devguide.html.in b/docs/devguide.html.in index 409952e..