|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH 8/9] xl: xl block-attach -N (dry run) option
 
Ian Campbell writes ("Re: [Xen-devel] [PATCH 8/9] xl: xl block-attach -N (dry 
run) option"):
> On Thu, 2011-06-02 at 18:55 +0100, Ian Jackson wrote:
> > This is mainly for debugging purposes at the moment.  Eventually I
> > hope all commands will gain this so that -N will be a global option.
> > 
> > In the meantime this new option is not documented and should be
> > regarded as unstable.
> 
> This is because it will ultimately move from after the command name to
> before?
Yes.
> What about adding a dry_run flag to struct cmd_spec and handling -N at
> the global scope on the basis of that flag, IOW error out on
>       xl -N <command-without-dry-run>
Good idea, I'll do that.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH 5/9] xl: disks: replace config file disk spec	parser with call to xlu_disk_parse, (continued)
 
- Re: [Xen-devel] [PATCH 8/9] xl: xl block-attach -N (dry run) option, Ian Campbell
 - Re: [Xen-devel] [PATCH 8/9] xl: xl block-attach -N (dry run) option,
Ian Jackson <=
 
- [Xen-devel] [PATCHES 00/08-11] xl dry run option,	and disk parser test script, Ian Jackson
 - [Xen-devel] [PATCH 08/11] xl: new global -N option for dry run, Ian Jackson
 - [Xen-devel] [PATCH 09/11] xl: implement -N (dry run) global option	for create and cpupool-create, Ian Jackson
 - [Xen-devel] [PATCH 10/11] xl: xl block-attach -N (dry run) option, Ian Jackson
 - [Xen-devel] [PATCH 11/11] xl: new "check-xl-disk-parse" test script	for disk parser, Ian Jackson
 - Re: [Xen-devel] [PATCH 11/11] xl: new "check-xl-disk-parse" test	script for disk parser, Ian Campbell
 
- Re: [Xen-devel] [PATCH 10/11] xl: xl block-attach -N (dry run) option, Ian Campbell
 
- Re: [Xen-devel] [PATCH 10/11] xl: xl block-attach -N (dry run) option, Ian Campbell
 
- Re: [Xen-devel] [PATCH 09/11] xl: implement -N (dry run) global	option for create and cpupool-create, Ian Campbell
 
- Re: [Xen-devel] [PATCH 08/11] xl: new global -N option for dry run, Ian Campbell
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |