Re: [libvirt] VMware support and Server 2.0.1

2009/7/29 Timo Makinen <tmakinen@ee.oulu.fi>:
On Wed, Jul 29, 2009 at 06:12:59PM +0200, Matthias Bolte wrote:
2009/7/27 Timo Makinen <tmakinen@ee.oulu.fi>: [...] The dumpxml seems to be failing with this config option:
ethernet0.connectionType = "custom"
without this it works correctly.
Ah, I found the cause. ethernet0.connectionType = "custom" was a good hint. I missed to initialize one variable correctly that is only used in the ethernet0.connectionType = "custom" case.
Could you do some basic testing beside listing and dumpxml, as I have currently no VMware GSX installation at hand? Just test if the following commands work as expected in virsh:
- start - shutdown - reboot - suspend - resume - nodeinfo - dominfo
Regards, Matthias
All these worked out of the box.
Nice! Could you test the attached patch? It adds handling for the port in the URI, extends the version checking for GSX 2.0 and fixes the bug in VMX parsing. Matthias

On Thu, Jul 30, 2009 at 03:22:59AM +0200, Matthias Bolte wrote:
2009/7/29 Timo Makinen <tmakinen@ee.oulu.fi>:
On Wed, Jul 29, 2009 at 06:12:59PM +0200, Matthias Bolte wrote:
2009/7/27 Timo Makinen <tmakinen@ee.oulu.fi>: [...] The dumpxml seems to be failing with this config option:
ethernet0.connectionType = "custom"
without this it works correctly.
Ah, I found the cause. ethernet0.connectionType = "custom" was a good hint. I missed to initialize one variable correctly that is only used in the ethernet0.connectionType = "custom" case.
Could you do some basic testing beside listing and dumpxml, as I have currently no VMware GSX installation at hand? Just test if the following commands work as expected in virsh:
- start - shutdown - reboot - suspend - resume - nodeinfo - dominfo
Regards, Matthias
All these worked out of the box.
Nice!
Could you test the attached patch? It adds handling for the port in the URI, extends the version checking for GSX 2.0 and fixes the bug in VMX parsing.
The port part of the patch looks just fine to me, the version handling is a bit more complex, I will wait for fedback for a few hours before applying though, thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Daniel Veillard
-
Matthias Bolte