[Libvirt-cim] [PATCH 0/2] ComputerSystem: Make reboot/shutdown work as a job

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Mon Feb 20 19:43:19 UTC 2012


From: "Eduardo Lima (Etrunko)" <eblima at br.ibm.com>

This code is based on the VSMigrationService for the job creation and on
ComputerSystemIndication for the job thread, which will listen for the
respective domain event to mark the job as finished.

Unfortunately I could not make it work properly. In this case I need a help
from more experienced people to help on the debug. The call in line 1318 will
fail with status code 100. I am sending a simple python test program as a
reply to this email so everyone can reproduce.

Eduardo Lima (Etrunko) (2):
  VSMigrationService: Move job state definitions to svpc_types.h
  ComputerSystem: Reboot/Shutdown state changes as jobs

 schema/ComputerSystem.mof     |    9 ++
 src/Virt_ComputerSystem.c     |  300 +++++++++++++++++++++++++++++++++++++++--
 src/Virt_VSMigrationService.c |   14 +--
 src/svpc_types.h              |   13 ++
 4 files changed, 317 insertions(+), 19 deletions(-)

-- 
1.7.7.6




More information about the Libvirt-cim mailing list