On Mon, Jun 15, 2009 at 11:28:09AM -0400, Cole Robinson wrote: > > The API user should pass in an nvlist, where a set of the names are > > defined and known about. The response needs to indicate whether it's a > > preferred setting ("would like virtio") or a required one. > > I can see doing something like > > os_info_set_install_prop(os_info_t info, int prop, char *propval) > > So the API user might do: > > os_info_set_install_prop(myinfo, OS_INSTALL_VIRT_TYPE, "hvm"); > os_info_set_install_prop(myinfo, OS_INSTALL_ARCH, "x86_64"); > os_info_set_install_prop(myinfo, OS_INSTALL_HV_TYPE, "kvm"); This isn't going to work as we most definitely have more than one value of all of these settings. Instead we need to pass in a list of "environments". Each one would specify a particular combination of the values above (along with a 'preferred' setting methinks). regards john _______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools