On 06.11.2014 09:40, Peter Krempa wrote:
On 11/05/14 13:35, Michal Privoznik wrote:
> This practically boils down to:
> 1) rename DomainResume implementation to DomainResumeFlags
> 2) make DomainResume call DomainResumeFlags(dom, 0);
>
> Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
> ---
> src/esx/esx_driver.c | 14 +++++++++++++-
> src/hyperv/hyperv_driver.c | 14 +++++++++++++-
> src/libxl/libxl_driver.c | 14 ++++++++++++--
> src/lxc/lxc_driver.c | 15 +++++++++++++--
> src/openvz/openvz_driver.c | 13 ++++++++++++-
> src/parallels/parallels_driver.c | 11 ++++++++++-
> src/phyp/phyp_driver.c | 12 +++++++++++-
> src/qemu/qemu_driver.c | 15 +++++++++++++--
> src/test/test_driver.c | 13 ++++++++++++-
> src/vbox/vbox_common.c | 11 ++++++++++-
> src/vmware/vmware_driver.c | 12 +++++++++++-
> src/xen/xen_driver.c | 14 ++++++++++++--
> src/xenapi/xenapi_driver.c | 21 +++++++++++++++++++--
> 13 files changed, 161 insertions(+), 18 deletions(-)
>
> diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
> index 0770e89..aaca532 100644
> --- a/src/esx/esx_driver.c
> +++ b/src/esx/esx_driver.c
> @@ -1838,6 +1841,14 @@ esxDomainResume(virDomainPtr domain)
>
>
> static int
> +esxDomainResume(virDomainPtr domain)
> +{
> + return esxDomainResumeFlags(domain, 0);
> +}
> +
> +
> +
3 empty lines.
I know, but I want to match the style used in the rest of the file. And
since we have no rule on this yet, I'm okay with keeping the lines.
Michal