Re: [PATCH 05/17] virsh-pool: Update pool commands to use vshCommandOptStringReq

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

 



On 01/31/13 06:22, Osier Yang wrote:
On 2013年01月22日 02:07, Peter Krempa wrote:
Rework most of option string retrievals to the new helper.
---
  tools/virsh-pool.c | 56
+++++++++++++++++++++++++-----------------------------
  1 file changed, 26 insertions(+), 30 deletions(-)

diff --git a/tools/virsh-pool.c b/tools/virsh-pool.c
index bc400a1..5a7c8dd 100644
--- a/tools/virsh-pool.c
+++ b/tools/virsh-pool.c

[...]

@@ -226,26 +226,28 @@ static const vshCmdOptDef opts_pool_X_as[] = {
      {.name = NULL}
  };

-static int vshBuildPoolXML(const vshCmd *cmd, const char **retname,
char **xml) {
-
+static int
+vshBuildPoolXML(vshControl *ctl,
+                const vshCmd *cmd,
+                const char **retname,
+                char **xml)

Okay, you change the style here. :-)

Yep, part of this hunk belongs to the patch before.


ACK

Thanks.

Peter

--
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]