[libvirt] [PATCH 0/2] ESX: Implement virDomainScreenshot

Dawid Zamirski dzamirski at dattobackup.com
Thu Mar 27 22:24:22 UTC 2014


Hello,

The following patches implement virDomainScreenshot for the ESX driver.
The screenshot VI API call was added in version 4.0, therefore, I had to
make changes to esx_vi_generator.py in order to allow VI method calls for
versions newer than 2.5. This was done by adding an optional "apiVersion"
token to the method header definition in the .input file. If it is not
specified, "2.5" will be used so existing VI calls will work "as is"
without any code updates.

Regards,

Dawid Zamirski (2):
  ESX: Allow method calls for VI version > 2.5
  ESX: Implement virDomainScreenshot

 src/esx/esx_driver.c           | 173 +++++++++++++++++++++++++++++++++++++++++
 src/esx/esx_vi.c               |  26 ++++++-
 src/esx/esx_vi.h               |   2 +-
 src/esx/esx_vi_generator.input |  19 ++++-
 src/esx/esx_vi_generator.py    |  20 +++--
 src/esx/esx_vi_methods.c       |  12 +--
 6 files changed, 238 insertions(+), 14 deletions(-)

-- 
1.9.0




More information about the libvir-list mailing list