Re: [libvirt] PATCH: Refactor LXC to remove some state from lxc_vm_t

2008-07-14 Thread Dan Smith
DB> I've been working on getting LXC ready to use the common XML DB> routines. One of the first tasks is finding a way to remove some DB> of the state stored in the lxc_vm_t struct, so it can be switched DB> over to virDomainObj struct instead. This patch does some simple DB> re-factoring of the wa

[libvirt] static address assignment via dnsmasq

2008-07-14 Thread Kurt Sussman
I want my VMs to be assigned static addresses by hostname. I would prefer to set up a generic way to configure dnsmasq, since I don't think this is the last thing I'll want to change about address assignment. I saw this patch from "Mads Chr. Olesen" https://www.redhat.com/archives/libvir-list/

[libvirt] listing domains on Fedora 8 XEN kernel

2008-07-14 Thread Steve Oliphant
I am having a problem being able to get domain information in an Fedora 8 XEN environment.The code does not receive an error status on the XEN kernel and does not get any information. The same code running on the non XEN kernel works fine. I am running default configuration files. Is this a kn

Re: [libvirt] [PATCH] cleanup functions which exec OpenVZ tools

2008-07-14 Thread Evgeniy Sokolov
Patch improve code which execute external OpenVZ tools. +/* generate arguments to create OpenVZ container + return -1 - error + 0 - OK +*/ +static int openvzDomainDefineCmd(const char *args[], int maxarg, struct openvz_vm_def *vmdef) Rather than passing in the pre-allocated arg

Re: [libvirt] PATCH: Bash auto-completion for virsh

2008-07-14 Thread Daniel P. Berrange
On Mon, Jul 14, 2008 at 11:57:07AM +0100, Daniel P. Berrange wrote: > Everyone[1] seems to be doing funky bash auto-completion for commands these > days, so I thought I'd make a stab at doing something for virsh. > > First of all I needed the command line help in an easier format to deal > with, s

[libvirt] PATCH: Refactor LXC to remove some state from lxc_vm_t

2008-07-14 Thread Daniel P. Berrange
I've been working on getting LXC ready to use the common XML routines. One of the first tasks is finding a way to remove some of the state stored in the lxc_vm_t struct, so it can be switched over to virDomainObj struct instead. This patch does some simple re-factoring of the way the TTYs and contr

[libvirt] PATCH: Bash auto-completion for virsh

2008-07-14 Thread Daniel P. Berrange
Everyone[1] seems to be doing funky bash auto-completion for commands these days, so I thought I'd make a stab at doing something for virsh. First of all I needed the command line help in an easier format to deal with, so I've added virsh _complete-command commands|arguments|options eg, $