Re: [PATCH 2/4] Add new virDomainShutdownFlags API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/19/2011 06:22 PM, MATSUDA, Daiki wrote:
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 83f4f3c..eaf8bbd 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -4312,6 +4312,7 @@ static virDriver remote_driver = {
.domainSuspend = remoteDomainSuspend, /* 0.3.0 */
.domainResume = remoteDomainResume, /* 0.3.0 */
.domainShutdown = remoteDomainShutdown, /* 0.3.0 */
+ .domainShutdownFlags = remoteDomainShutdownFlags, /* 0.9.7 */

+ REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS = 246 /* autogen autogen */

/*
* Notice how the entries are grouped in sets of 10 ?

I think it does not works well if target is localhost or not, because
remoteDomainShutdownFlags() function is not implemented. So, do you have
a plan ?

The notation "autogen autogen" after REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS _is_ what implements remoteDomainShutdownFlags(). See src/rpc/genprotocol.pl.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]