Use (Get|Set)BlockIOParameters names to have the API names unified. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- data/org.libvirt.Domain.xml | 4 ++-- src/domain.c | 32 ++++++++++++++++---------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/data/org.libvirt.Domain.xml b/data/org.libvirt.Domain.xml index adb93a6..2a14b8e 100644 --- a/data/org.libvirt.Domain.xml +++ b/data/org.libvirt.Domain.xml @@ -177,7 +177,7 @@ <arg name="minimum" type="t" direction="in"/> <arg name="flags" type="u" direction="in"/> </method> - <method name="GetBlkioParameters"> + <method name="GetBlockIOParameters"> <annotation name="org.gtk.GDBus.DocString" value="See https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetBlkioParameters"/> <arg name="flags" type="u" direction="in"/> @@ -491,7 +491,7 @@ <arg name="sigNum" type="u" direction="in"/> <arg name="flags" type="u" direction="in"/> </method> - <method name="SetBlkioParameters"> + <method name="SetBlockIOParameters"> <annotation name="org.gtk.GDBus.DocString" value="See https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainSetBlkioParameters"/> <arg name="params" type="a{sv}" direction="in"/> diff --git a/src/domain.c b/src/domain.c index caf6508..4aeb855 100644 --- a/src/domain.c +++ b/src/domain.c @@ -910,13 +910,13 @@ virtDBusDomainFSTrim(GVariant *inArgs, } static void -virtDBusDomainGetBlkioParameters(GVariant *inArgs, - GUnixFDList *inFDs G_GNUC_UNUSED, - const gchar *objectPath, - gpointer userData, - GVariant **outArgs, - GUnixFDList **outFDs G_GNUC_UNUSED, - GError **error) +virtDBusDomainGetBlockIOParameters(GVariant *inArgs, + GUnixFDList *inFDs G_GNUC_UNUSED, + const gchar *objectPath, + gpointer userData, + GVariant **outArgs, + GUnixFDList **outFDs G_GNUC_UNUSED, + GError **error) { virtDBusConnect *connect = userData; g_autoptr(virDomain) domain = NULL; @@ -2533,13 +2533,13 @@ virtDBusDomainSendProcessSignal(GVariant *inArgs, } static void -virtDBusDomainSetBlkioParameters(GVariant *inArgs, - GUnixFDList *inFDs G_GNUC_UNUSED, - const gchar *objectPath, - gpointer userData, - GVariant **outArgs G_GNUC_UNUSED, - GUnixFDList **outFDs G_GNUC_UNUSED, - GError **error) +virtDBusDomainSetBlockIOParameters(GVariant *inArgs, + GUnixFDList *inFDs G_GNUC_UNUSED, + const gchar *objectPath, + gpointer userData, + GVariant **outArgs G_GNUC_UNUSED, + GUnixFDList **outFDs G_GNUC_UNUSED, + GError **error) { virtDBusConnect *connect = userData; g_autoptr(virDomain) domain = NULL; @@ -3067,7 +3067,7 @@ static virtDBusGDBusMethodTable virtDBusDomainMethodTable[] = { { "FSFreeze", virtDBusDomainFSFreeze }, { "FSThaw", virtDBusDomainFSThaw }, { "FSTrim", virtDBusDomainFSTrim }, - { "GetBlkioParameters", virtDBusDomainGetBlkioParameters }, + { "GetBlockIOParameters", virtDBusDomainGetBlockIOParameters }, { "GetBlockIOTune", virtDBusDomainGetBlockIOTune }, { "GetBlockJobInfo", virtDBusDomainGetBlockJobInfo }, { "GetControlInfo", virtDBusDomainGetControlInfo }, @@ -3118,7 +3118,7 @@ static virtDBusGDBusMethodTable virtDBusDomainMethodTable[] = { { "Save", virtDBusDomainSave }, { "SendKey", virtDBusDomainSendKey }, { "SendProcessSignal", virtDBusDomainSendProcessSignal }, - { "SetBlkioParameters", virtDBusDomainSetBlkioParameters }, + { "SetBlockIOParameters", virtDBusDomainSetBlockIOParameters }, { "SetBlockIOTune", virtDBusDomainSetBlockIOTune }, { "SetGuestVcpus", virtDBusDomainSetGuestVcpus }, { "SetInterfaceParameters", virtDBusDomainSetInterfaceParameters }, -- 2.17.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list