[libvirt] [PATCH 5/7] add qemuAgentCommand() for .qemuAgentCommand to remote driver

Martin Kletzander mkletzan at redhat.com
Thu Aug 16 13:25:48 UTC 2012


On 08/15/2012 03:36 AM, MATSUDA Daiki wrote:
> diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
> index 353a153..3c60709 100644
> --- a/src/remote/remote_driver.c
> +++ b/src/remote/remote_driver.c
> @@ -5368,6 +5368,7 @@ static virDriver remote_driver = {
>      .domainSetMetadata = remoteDomainSetMetadata, /* 0.9.10 */
>      .domainGetMetadata = remoteDomainGetMetadata, /* 0.9.10 */
>      .domainGetHostname = remoteDomainGetHostname, /* 0.10.0 */
> +    .qemuAgentCommand = qemuAgentCommand, /* 0.10.0 */

You probably want to call some function like
'remoteQemuDomainAgentCommand' or something like that since
qemuAgentCommand works locally and not remotely.

I haven't had a look at the rest of the series. Please feel free to
correct me in case I've misunderstood the code somewhere.

Martin




More information about the libvir-list mailing list