[libvirt] [libvirt-gconfig PATCHv2 14/14] Implement gvir_config_domain_setup_default_usb_controllers

Christophe Fergeau cfergeau at redhat.com
Thu Apr 12 08:33:44 UTC 2012


On Wed, Apr 11, 2012 at 06:51:48PM +0200, Marc-André Lureau wrote:
> On Wed, Apr 11, 2012 at 6:19 PM, Daniel P. Berrange <berrange at redhat.com> wrote:
> > The concept of 'default usb controllers' seems very policy based
> > to me & different hypervisors will have different views of this.
> 
> This is a helper, it is not imposing any policy, but giving you sane
> default setup for ICH9 USB2 controllers if you want to.

Deciding on what the default setup is is some kind of policy ) But yeah
it's not imposed since there are still the lower level function.

That said, this function doing something magical is quite odd compared to
the rest of libvirt-gconfig API which directly manipulate xml nodes. A
"simpler" API will probably needed at some point, but maybe it belongs just
above libvirt-gconfig instead of inside it.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120412/bed16b78/attachment-0001.sig>


More information about the libvir-list mailing list