Re: [libvirt] [PATCH] "static" ip address

2008-08-25 Thread Chris Lalancette
Olivier Deckmyn wrote: > Hi, > > Back from a not-so-funny moment :( > > I'm impressed by the work done once I was away ! Thanx ! > > I've tried to test it : > > - uninstalled debian package libvirt-bin (running ubuntu server 8.04 LTS) > - checked-out CVS version > - ./autobuild.sh --with-xen=n

[libvirt] virConnectOpenReadOnly?

2008-08-25 Thread Jun Koi
Hi, According to the comment of virConnectOpenReadOnly, this function has some restrictions on available methods to control domains. Could you be more specific? What kind of restrictions we are having (compare to virConnectOpen())? And when should we use virConnectOpenReadOnly() instead of virCon

[libvirt] libvir: Xen error

2008-08-25 Thread mantra UNIX
Hello everyone, I get the following error when i try to redtart a domain; # virsh list libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID I am using RHEL5.2 on i386, I have searched for the error on web and on RedHat but could not find any. -- Regards, m

Re: [libvirt] BUG

2008-08-25 Thread Guido Günther
On Sun, Aug 24, 2008 at 01:33:34AM +0200, Stefan de Konink wrote: > With the tip of DanB I am currently using the inactive XML storage quite > satisfied with the concept of first undefining than starting. But there > is still a bug. > > The inactive XML adds a tag. Now that is (in my > persp

[libvirt] [PATCH] Fix ejecting cdroms with latest qemu syntax

2008-08-25 Thread Cole Robinson
Originally, ejecting a cdrom from a qemu guest entailed passing 'eject cdrom' to the monitor. But since qemu added the -drive option, more than one cdrom can be specified, so just using 'cdrom' isn't explicit enough. The attached patch updates media change/eject to use the current qemu syntax. The

Re: [libvirt] [PATCH] "static" ip address

2008-08-25 Thread Daniel Veillard
On Mon, Aug 25, 2008 at 07:17:04PM +0200, Olivier Deckmyn wrote: > Hi, > Back from a not-so-funny moment :( > > I'm impressed by the work done once I was away ! Thanx ! > > I've tried to test it : > > - uninstalled debian package libvirt-bin (running ubuntu server 8.04 LTS) no idea what libvi

Re: [libvirt] [PATCH] "static" ip address

2008-08-25 Thread Olivier Deckmyn
Hi, Back from a not-so-funny moment :( I'm impressed by the work done once I was away ! Thanx ! I've tried to test it : - uninstalled debian package libvirt-bin (running ubuntu server 8.04 LTS) - checked-out CVS version - ./autobuild.sh --with-xen=no - make - sudo make install Running virsh tel

Re: [libvirt] [PATCH] Don't list capabilities entries if emulators can't be accessed

2008-08-25 Thread Cole Robinson
Daniel P. Berrange wrote: > On Wed, Aug 20, 2008 at 12:51:05PM -0400, Cole Robinson wrote: > >> diff --git a/src/qemu_conf.c b/src/qemu_conf.c >> index dc9e42a..0328cc1 100644 >> --- a/src/qemu_conf.c >> +++ b/src/qemu_conf.c >> @@ -230,6 +230,10 @@ qemudCapsInitGuest(virCapsPtr caps, >> virC

Re: [libvirt] [PATCH] Attempt to detect cdrom change failures

2008-08-25 Thread Cole Robinson
Cole Robinson wrote: > If a 'change' or 'eject' qemu monitor command fails, > an error message is printed to the monitor of the > form "device {not found, is locked, is not > removable"}. This is really the only indication we > have that the command errored out, so scrape the > monitor reply for "

[libvirt] [PATCH] Attempt to detect cdrom change failures

2008-08-25 Thread Cole Robinson
If a 'change' or 'eject' qemu monitor command fails, an error message is printed to the monitor of the form "device {not found, is locked, is not removable"}. This is really the only indication we have that the command errored out, so scrape the monitor reply for "\ndevice " and fail if it is foun

Re: [libvirt] [PATCH] storage pool discovery

2008-08-25 Thread David Lively
On Fri, 2008-08-22 at 16:15 +0100, Daniel P. Berrange wrote: > On Fri, Aug 22, 2008 at 10:58:54AM -0400, David Lively wrote: > > As long as we're on the subject of naming (and before it's too late), > > it's been bothering me that we keep calling this "storage pool > > discovery". To me, "storage

[libvirt] Re: inactive domain list in virsh

2008-08-25 Thread Jun Koi
Hmm I found the "list --inactive" cmd that does what I want. Thanks, J On Mon, Aug 25, 2008 at 7:21 PM, Jun Koi <[EMAIL PROTECTED]> wrote: > Hi, > > I am wondering if there is a way to list all the inactive domain > inside virsh? That would be useful to have such a command, so we can > see which

[libvirt] inactive domain list in virsh

2008-08-25 Thread Jun Koi
Hi, I am wondering if there is a way to list all the inactive domain inside virsh? That would be useful to have such a command, so we can see which domain can be started. Thanks, J -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list