Re: [Libvir] Patch for routed virtual networks

2008-03-10 Thread Mads Chr. Olesen
søn, 09 03 2008 kl. 21:09 +, skrev Daniel P. Berrange: > On Sat, Mar 08, 2008 at 04:33:32PM +0100, Mads Chr. Olesen wrote: > > I have added a stanza (dev is optional), completely > > equivalent to the stanza. > > This is still forwarding of traffic, so I think we should just use the > exist

[Libvir] PATCH: Fix xen unified driver open logic

2008-03-10 Thread Daniel P. Berrange
When adding PolicyKit support we disabled the proxy driver, but did not correctly fix up the Xen unified driver. The result is that it is still trying to run the proxy setuid helper which doesn't exist and thus it fails the open operation before the remote driver gets the opportunity to process the

Re: [Libvir] virsh start problem + patch

2008-03-10 Thread Daniel P. Berrange
On Mon, Mar 10, 2008 at 11:37:19AM +, Richard W.M. Jones wrote: > On Sat, Mar 08, 2008 at 09:47:43AM +0100, Toth Istvan wrote: > > I've looked into the virsh code, and it seems that it was written with > > only only old-style xen in mind, and xen 3.1's managed domains break the > > logic. > >

Re: [Libvir] Need Help on Error handling.

2008-03-10 Thread Chris Lalancette
Richard W.M. Jones wrote: > On Sun, Mar 09, 2008 at 10:52:33PM +0530, Ajishrao.r wrote: >> Hi, >> I am using libvirt to manage, The Hypervisor, Can Any one Help me >> about handling error? My main questions are. >> >> --- What is Library level Error Handling? >> --- Any Example to use >> >>

Re: [Libvir] PATCH: Don't make connection read-only when non-root

2008-03-10 Thread Richard W.M. Jones
On Sun, Mar 09, 2008 at 09:05:02PM +, Daniel P. Berrange wrote: > The virsh commands has long forced the connection to be read-only if running > as non-root. This is bogus because it is perfectly capable of authenticating > full read-write connections as non-root since we gained kerberos/policy

Re: [Libvir] PATCH: Remove use of polkit-grant

2008-03-10 Thread Richard W.M. Jones
On Sun, Mar 09, 2008 at 09:02:36PM +, Daniel P. Berrange wrote: > Index: src/libvirt.c > === > RCS file: /data/cvs/libvirt/src/libvirt.c,v > retrieving revision 1.125 > diff -u -p -r1.125 libvirt.c > --- src/libvirt.c 26 Feb 20

Re: [Libvir] PATCH: Fix libvirtd to not shutdown at startup

2008-03-10 Thread Richard W.M. Jones
On Sun, Mar 09, 2008 at 08:59:24PM +, Daniel P. Berrange wrote: > Changes to the daemon to make it called qemudShutdown() broke the network > driver when run in --daemon mode. This is because the main daemon forks > into the background, and the original PID then exits destroying any active > ne

Re: [Libvir] Need Help on Error handling.

2008-03-10 Thread Richard W.M. Jones
On Sun, Mar 09, 2008 at 10:52:33PM +0530, Ajishrao.r wrote: > Hi, > I am using libvirt to manage, The Hypervisor, Can Any one Help me > about handling error? My main questions are. > > --- What is Library level Error Handling? > --- Any Example to use > > void virSetErrorFunc

Re: [Libvir] Not able to access the network.

2008-03-10 Thread Richard W.M. Jones
On Fri, Mar 07, 2008 at 03:56:45PM -0700, Spencer Parker wrote: > I have set up a machine using virsh, but I can't access it over the > network. It has valid IP and everything like that. It is all running over > eth1 and not eth0. Any idea as to why I can't get network access on it? I > have

Re: [Libvir] virsh start problem + patch

2008-03-10 Thread Richard W.M. Jones
On Sat, Mar 08, 2008 at 09:47:43AM +0100, Toth Istvan wrote: > I've looked into the virsh code, and it seems that it was written with > only only old-style xen in mind, and xen 3.1's managed domains break the > logic. I don't understand this statement. The current 'cmdStart' code checks if the do

Re: [Libvir] PATCH: Allow Xen HVM kernel+initrd booting

2008-03-10 Thread Daniel P. Berrange
On Mon, Mar 10, 2008 at 11:33:49AM +, Richard W.M. Jones wrote: > On Sun, Mar 09, 2008 at 09:11:49PM +, Daniel P. Berrange wrote: > > The problem is that the Xen driver expects the OS type to be 'linux' > > but the capabilities XML is advertising the OS type as 'xen'. Technically > > 'xen'

Re: [Libvir] PATCH: Allow Xen HVM kernel+initrd booting

2008-03-10 Thread Richard W.M. Jones
On Sun, Mar 09, 2008 at 09:11:49PM +, Daniel P. Berrange wrote: > The problem is that the Xen driver expects the OS type to be 'linux' > but the capabilities XML is advertising the OS type as 'xen'. Technically > 'xen' is the correct value, since its refering to a guest ABI & the ABI > is xen,