> -----Original Message-----
> From: Cole Robinson [mailto:[email protected]]
> Sent: Tuesday, February 25, 2014 9:36 PM
> To: Chen Hanxiao; [email protected]
> Subject: Re: [virt-tools-list] [virt-manager PATCH] cli: add missing
remove_first
> method for --blkiotune
> 
> On 02/25/2014 01:47 AM, Chen Hanxiao wrote:
> > Add missing remove_first method for --blkiotune.
> > Update related man pages.
> >
> > Signed-off-by: Chen Hanxiao <[email protected]>
> >
> > -    --blkiotune weight=100
> > +    --blkiotune 100
> >      --blkiotune weight=100,device_path=/dev/sdc,device_weight=200
> >
> >  Use --blkiotune=? to see a list of all available sub options. Complete
details at
> L<http://libvirt.org/formatdomain.html#elementsBlockTuning>
> > diff --git a/virtinst/cli.py b/virtinst/cli.py
> > index 5bdc1de..826663a 100644
> > --- a/virtinst/cli.py
> > +++ b/virtinst/cli.py
> > @@ -2026,6 +2026,7 @@ class ParserPanic(VirtCLIParser):
> >  class ParserBlkiotune(VirtCLIParser):
> >      def _init_params(self):
> >          self.clear_attr = "blkiotune"
> > +        self.remove_first = "weight"
> >
> >          self.set_param("blkiotune.weight", "weight")
> >          self.set_param("blkiotune.device_path", "device_path")
> >
> 
> ACK
> 
> - Cole

Thanks, pushed.


_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to