Displaying 1 result from an estimated 1 matches for "0f0a25c4c991".
2010 May 20
0
[PATCH] xl: fix block-attach command parsing
...wo command-line parsing problems:
- the argc check is wrong: it must be provided with the frontend device
- the ro/rw mode is optional, so default to rw if it is absent
Also, update the usage message accordingly.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
diff -r 0f0a25c4c991 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu May 20 09:18:33 2010 -0700
+++ b/tools/libxl/xl_cmdimpl.c Thu May 20 14:37:24 2010 -0700
@@ -3444,7 +3444,7 @@
uint32_t fe_domid, be_domid = 0;
libxl_device_disk disk = { 0 };
- if ((argc < 3) || (argc > 6)) {
+ if...