[virt-tools-list] [virt-manager PATCH] virt-install: add --partition support for resource partitioning

chenhanxiao at cn.fujitsu.com chenhanxiao at cn.fujitsu.com
Thu May 29 03:13:21 UTC 2014



> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange at redhat.com]
> Sent: Wednesday, May 28, 2014 8:21 PM
> To: Cole Robinson
> Cc: Chen, Hanxiao/陈 晗霄; virt-tools-list at redhat.com
> Subject: Re: [virt-tools-list] [virt-manager PATCH] virt-install: add --partition
> support for resource partitioning
> >
> > Hmm. I realize that libvirt only exposes /domain/resource/partition, and the
> > docs are called resPartition, etc. But --partition is a potentially misleading
> > name, my first thought is 'disk partition'. And if anything else is ever added
> > to the <resource> XML block, we are kind of stuck with the --partition syntax.
> >
> > So I suggest making it
> >
> > --resource partition=/foo/bar
> >
> > In practice very few people are likely to use this option so it's okay if they
> > have to do more typing :)
> 
> Yep, it is quite likely we'll add more <resource> child elements, so using
> --resource is preferrable.
> 
> 

Thanks for your suggestion.
v2 will come soon.

- Chen




More information about the virt-tools-list mailing list