[libvirt] [PATCH] Power Hypervisor now with libssh2

Eduardo Otubo otubo at linux.vnet.ibm.com
Wed Aug 26 06:53:01 UTC 2009


Hello friends,

This is the new version of phyp driver now using libssh2. I also did
some other changes:

 * Added some debug information. Sometimes its worth to know which
command is being executed and where. So I added the PHYP_CMD_DEBUG
macro.

 * All the connection startup is now "hard coded" in libssh2. For
example, I need to open the socket and start the connection all by
myself. Not a big deal, but in a near future I am planning to send a
patch to libssh2 to encapsulate all these procedures into functions,
hence, less code, probably less bugs :)

 * There is a lot of "out of scope" functions in the bottom of the file.
In the next patch I may put all those together in a phyp_config.[ch] in
order to get things clearer.

What's up next:

 * The problem of handling the UUID in a centralized way still remains.
I started to handle this by opening a sftp connection to the HMC system
and transfer my UUID database. But there is an odd behavior that makes
the driver connect OR NOT to some HMC systems.

 * CPU management: this feature planned to be released in this version
is not ready yet due to the issue above.

 * Storage management.

Vacations:

I'll be on vacations from 26th/august to 14th/september. I'll check my
emails in the meanwhile, but no so often. Anyway, any comments on this
patch are always welcome :)

[]'s

-- 
Eduardo Otubo
Software Engineer
Linux Technology Center
IBM Systems & Technology Group
Mobile: +55 19 8135 0885
otubo at linux.vnet.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phyp_libssh2.patch
Type: text/x-patch
Size: 31677 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090826/5ec62a9a/attachment-0001.bin>


More information about the libvir-list mailing list