]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Switch to unified func name
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Aug 2012 08:35:02 +0000 (10:35 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Aug 2012 09:44:03 +0000 (11:44 +0200)
With the latest patches libvirt supports qemu agent monitor
passthrough. However, function in qemu driver is called
qemuDrvDomainAgentCommand. s/Drv// as used in all other names.

src/qemu/qemu_driver.c

index 64c407da6225e374b117a1784e7dd15ccf2d9e24..3fcca0ef943bf88d6dca51aa4b86de68501bee3e 100644 (file)
@@ -13815,7 +13815,7 @@ qemuListAllDomains(virConnectPtr conn,
 }
 
 static char *
-qemuDrvDomainAgentCommand(virDomainPtr domain,
+qemuDomainAgentCommand(virDomainPtr domain,
                        const char *cmd,
                        int timeout,
                        unsigned int flags)
@@ -14028,7 +14028,7 @@ static virDriver qemuDriver = {
     .domainSnapshotDelete = qemuDomainSnapshotDelete, /* 0.8.0 */
     .qemuDomainMonitorCommand = qemuDomainMonitorCommand, /* 0.8.3 */
     .qemuDomainAttach = qemuDomainAttach, /* 0.9.4 */
-    .qemuDomainArbitraryAgentCommand = qemuDrvDomainAgentCommand, /* 0.10.0 */
+    .qemuDomainArbitraryAgentCommand = qemuDomainAgentCommand, /* 0.10.0 */
     .domainOpenConsole = qemuDomainOpenConsole, /* 0.8.6 */
     .domainOpenGraphics = qemuDomainOpenGraphics, /* 0.9.7 */
     .domainInjectNMI = qemuDomainInjectNMI, /* 0.9.2 */