From: Jim Fehlig <jfehlig@suse.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: LibVir <libvir-list@redhat.com>,
ian.jackson@eu.citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH RFC OSSTEST 7/9] Toolstack: Abstract away migration support check.
Date: Wed, 25 Jun 2014 09:25:48 -0600 [thread overview]
Message-ID: <53AAE9FC.7030006@suse.com> (raw)
In-Reply-To: <1403699934.18068.4.camel@kazak.uk.xensource.com>
Ian Campbell wrote:
> On Tue, 2014-06-24 at 21:18 -0600, Jim Fehlig wrote:
>
>
>> Something like the attached patch (compile-tested only). You'll need an
>> updated libvirt.git master to apply cleanly.
>>
>
> Thanks. Building on ARM I get:
>
> libxl/libxl_driver.c:4346:1: error: 'libxlDomainMigrateBegin3Params' defined but not used [-Werror=unused-function]
> libxl/libxl_driver.c:4384:1: error: 'libxlDomainMigratePrepare3Params' defined but not used [-Werror=unused-function]
> libxl/libxl_driver.c:4433:1: error: 'libxlDomainMigratePerform3Params' defined but not used [-Werror=unused-function]
> libxl/libxl_driver.c:4488:1: error: 'libxlDomainMigrateFinish3Params' defined but not used [-Werror=unused-function]
> libxl/libxl_driver.c:4539:1: error: 'libxlDomainMigrateConfirm3Params' defined but not used [-Werror=unused-function]
>
Yeah, compile-tested on x86 only as it turned out. I was building
packages in the build service, where I had the libxl driver disabled for
aarch64 :-/.
With the fixup, does this work for you? Is <migration_features> omitted
from the capabilities?
Regards,
Jim
> The fixup is obvious (I didn't bother with commit message etc since I
> expect you'll want to fold it in):
>
> commit 69606cdba69afdd5e2eea0096596ae3beaa34890
> Author: Ian Campbell <ian.campbell@citrix.com>
> Date: Wed Jun 25 11:48:45 2014 +0100
>
> fixup
>
> diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
> index f90bf64..03d397e 100644
> --- a/src/libxl/libxl_driver.c
> +++ b/src/libxl/libxl_driver.c
> @@ -4342,6 +4342,7 @@ libxlNodeDeviceReset(virNodeDevicePtr dev)
> return ret;
> }
>
> +#ifndef LIBXL_HAVE_NO_SUSPEND_RESUME
> static char *
> libxlDomainMigrateBegin3Params(virDomainPtr domain,
> virTypedParameterPtr params,
> @@ -4561,7 +4562,7 @@ libxlDomainMigrateConfirm3Params(virDomainPtr domain,
>
> return libxlDomainMigrationConfirm(driver, vm, flags, cancelled);
> }
> -
> +#endif /* ifndef LIBXL_HAVE_NO_SUSPEND_RESUME */
>
> static virDriver libxlDriver = {
> .no = VIR_DRV_LIBXL,
>
>
>
>
>
next prev parent reply other threads:[~2014-06-25 15:25 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-17 15:25 [PATCH RFC OSSTEST 0/9] implement for virsh Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 1/9] ts-logs-capture: Collect some libvirt logs Ian Campbell
2014-06-17 15:28 ` Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 2/9] Pass host to toolstack() Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 3/9] Toolstack: use get_host_method_object() to manage toolstack selection Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 4/9] TestSupport: always use xl for generic operations Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 5/9] TestSupport: guest_create takes a $ho Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 6/9] Toolstack: Refactor guest lifecycle Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 7/9] Toolstack: Abstract away migration support check Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 8/9] Toolstack: Refactor consolecmd handling Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 9/9] Toolstack: refactor shutdown support Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 1/9] ts-logs-capture: Collect some libvirt logs Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 2/9] Pass host to toolstack() Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 3/9] Toolstack: use get_host_method_object() to manage toolstack selection Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 4/9] TestSupport: always use xl for generic operations Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 5/9] TestSupport: guest_create takes a $ho Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 6/9] Toolstack: Refactor guest lifecycle Ian Campbell
2014-06-17 16:45 ` Dario Faggioli
2014-06-17 16:56 ` Ian Campbell
2014-06-23 21:01 ` Jim Fehlig
2014-06-17 15:26 ` [PATCH RFC OSSTEST 7/9] Toolstack: Abstract away migration support check Ian Campbell
2014-06-17 15:33 ` Ian Campbell
2014-06-23 21:28 ` Jim Fehlig
2014-06-24 11:06 ` Ian Campbell
2014-06-25 3:18 ` Jim Fehlig
[not found] ` <53AA3F89.6050904@suse.com>
2014-06-25 12:38 ` Ian Campbell
2014-06-25 15:25 ` Jim Fehlig [this message]
2014-06-25 16:37 ` Ian Campbell
[not found] ` <1403714245.16595.1.camel@kazak.uk.xensource.com>
2014-06-25 18:18 ` Jim Fehlig
2014-06-17 15:26 ` [PATCH RFC OSSTEST 8/9] Toolstack: Refactor consolecmd handling Ian Campbell
2014-06-17 15:26 ` [PATCH RFC OSSTEST 9/9] Toolstack: refactor shutdown support Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53AAE9FC.7030006@suse.com \
--to=jfehlig@suse.com \
--cc=Ian.Campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=libvir-list@redhat.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.