libvirt/src/libxl
John Ferlan 40e904490f libxl_driver: Resolve Coverity errors
1. The virObjectLock() call was unconditional, but Unlock was conditional
   on vm being valid.  Removed the check

2. A call to virDomainEventNewFromObj() isn't guaranteed to return an
   event - that check needs to be made prior to libxlDomainEventQueue()
   of the event. Did not add libxlDriverLock/Unlock around the call since
   some callers already have lock taken

3. Need to initialize fd = -1 in libxlDoDomainSave() since we can jump
   to cleanup before it's set.

4. Missing break;'s in libxlDomainModifyDeviceFlags() for case
   LIBXL_DEVICE_UPDATE.  The default: case would report an error
2013-03-05 22:52:51 -05:00
..
libxl_conf.c libxl_conf: Resolve Coverity issue with call to regcomp() 2013-03-05 22:52:51 -05:00
libxl_conf.h Rename all domain list APIs to have virDomainObjList prefix 2013-02-05 15:49:25 +00:00
libxl_driver.c libxl_driver: Resolve Coverity errors 2013-03-05 22:52:51 -05:00
libxl_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00