Re: [libvirt] Get IP address of a running domain

2010-07-06 Thread Camilo Aguilar
Hi Adrian, afaik, there is no a direct function to get the domain ip address if the address is acquired through DHCP regards, Camilo Aguilar On Tue, Jul 6, 2010 at 3:14 PM, adrian wyssen wrote: > year, i can find the mac address of the machine with virDomainGetXMLDesc, > but not the ip. and si

[libvirt] Get IP address of a running domain

2010-07-06 Thread adrian wyssen
Hi, Sorry bothering you again, but I have another question: I did not find any possibility to get the IP address of a running domain with libvirt. I can get the domain pointer but I did not find any function in the API returning my the IP address of the domain. I just can get other information abou

[libvirt] [PATCH] esx: Add autodetection for the SCSI controller model

2010-07-06 Thread Matthias Bolte
This works for file-backed SCSI disk device with a datastore related source path. --- docs/drvesx.html.in|6 ++ docs/schemas/domain.rng|1 + src/conf/domain_conf.c |1 + src/conf/domain_conf.h |1 + src/esx/esx_vi_generator.input | 149 +

[libvirt] [PATCH] esx: Allow 'pvscsi' as SCSI controller model

2010-07-06 Thread Matthias Bolte
--- docs/drvesx.html.in | 13 - docs/schemas/domain.rng |1 + src/conf/domain_conf.c|3 ++- src/conf/domain_conf.h|1 + src/esx/esx_vmx.c | 12 +++- tests/vmx

[libvirt] [PATCH] esx: Make esxVI_*_Deserialize dynamically dispatched

2010-07-06 Thread Matthias Bolte
This will be used to deserialize the response from a call to esxVI_SearchDatastore_Task (to be added in the next patch) properly. --- src/esx/esx_vi_generator.py | 45 ++-- src/esx/esx_vi_types.c | 82 ++- 2 files changed, 115 in

[libvirt] Fwd: Allow to change the maximum migration downtime -- bug 561935

2010-07-06 Thread Alex Jia
- Forwarded Message - From: "Alex Jia" To: "Daniel Berrange" Cc: libvir-list@redhat.com Sent: Friday, July 2, 2010 10:32:58 AM GMT +00:00 Monrovia Subject: Allow to change the maximum migration downtime -- bug 561935 Hi Daniel, I have simulated a slow network by linux bridge on source h

Re: [libvirt] [PATCH] Add openauth example to demonstrate a custom auth callback

2010-07-06 Thread Daniel Veillard
On Tue, Jul 06, 2010 at 03:28:54PM +0200, Matthias Bolte wrote: > --- > Makefile.am |2 +- > configure.ac |1 + > examples/openauth/.gitignore |5 + > examples/openauth/Makefile.am |5 + > examples/openauth/openauth.c | 287 > +

Re: [libvirt] ESXi support

2010-07-06 Thread Matthias Bolte
2010/7/5 adrian wyssen : > Hi Matthias, > Thanks for your excellent explanation. It works now with the hellolibvirt > example. I still have a problem. It don't want to be forced to enter a > password. So I tried to set the URI > to esx://user:p...@esx_host/?no_verify=1. But that does not work. It a

[libvirt] [PATCH] Add openauth example to demonstrate a custom auth callback

2010-07-06 Thread Matthias Bolte
--- Makefile.am |2 +- configure.ac |1 + examples/openauth/.gitignore |5 + examples/openauth/Makefile.am |5 + examples/openauth/openauth.c | 287 + libvirt.spec.in |3 +- 6 files chan

Re: [libvirt] Bugs when installing Windows XP

2010-07-06 Thread Daniel P. Berrange
On Tue, Jul 06, 2010 at 02:57:25PM +0200, Laurent Léonard wrote: > Hi, > > There are 2 bugs (regressions) when installing Windows XP, it can be > reproduced with libvirt 0.8.x. > > After the first installation stage, the machine reboots but: > - the CD-ROM is removed, so the second stage asks fo

Re: [libvirt] Migrate not running guests

2010-07-06 Thread Hugh O. Brock
On Mon, Jul 05, 2010 at 08:37:33PM +0200, Juan Quintela wrote: > > Hi > > In an exercise to use more libvirt, I am trying to use libvirt with my > normal use. First, I will explain how I normally run my guests. > > I install guests on a machine with virt-install <> > I store all my guests i

[libvirt] Bugs when installing Windows XP

2010-07-06 Thread Laurent Léonard
Hi, There are 2 bugs (regressions) when installing Windows XP, it can be reproduced with libvirt 0.8.x. After the first installation stage, the machine reboots but: - the CD-ROM is removed, so the second stage asks for the CD-ROM. - if I force the shutdown, the machine reboots. If I force the sh