[libvirt] [PATCH 03/15] esxDriver: Adapt to virDomain{Resume, Suspend}Flags

Eric Blake eblake at redhat.com
Mon Feb 3 17:44:28 UTC 2014


On 02/03/2014 09:17 AM, Michal Privoznik wrote:
> So far, there are no flags to implement, so just call the
> corresponding function with 0 passed as @flags.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/esx/esx_driver.c | 28 ++++++++++++++++++++++++++--
>  1 file changed, 26 insertions(+), 2 deletions(-)


> +}
> +
> +
> +
> +static int

Why 3 blank lines?

>  esxDomainShutdownFlags(virDomainPtr domain, unsigned int flags)
>  {
>      int result = -1;
> @@ -5203,7 +5225,9 @@ static virDriver esxDriver = {
>      .domainLookupByUUID = esxDomainLookupByUUID, /* 0.7.0 */
>      .domainLookupByName = esxDomainLookupByName, /* 0.7.0 */
>      .domainSuspend = esxDomainSuspend, /* 0.7.0 */
> +    .domainSuspendFlags = esxDomainSuspendFlags, /* 1.2.2 */
>      .domainResume = esxDomainResume, /* 0.7.0 */
> +    .domainResumeFlags = esxDomainResumeFlags, /* 1.2.2 */

Otherwise trivial; and ACK if the concept of 1 and 2 is approved.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140203/4e156992/attachment-0001.sig>


More information about the libvir-list mailing list