|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xc_domain_getinfolist() declaration
Daniel Veillard wrote: xc_domain_getinfolist is a batched interface to xc_domain_getinfo from the hypervisor perspective. That is, getinfolist will only make a single hypercall whereas getinfo will make up to max_doms hypercalls.I would expect xc_domain_getinfolist() to just be an extended version of xc_domain_getinfo() but filling-up a range of xc_dominfo_t. Howeverthe declaration in xenctrl.h is getinfo massages the returned data into a more python friendly structure (xc_dominfo_t) whereas getinfolist returns the raw results from the hypercall (which is just typedef'd to xc_domaininfo_t. The argument for getinfolist was performance. Applications that require as low-overhead as possible polling info polling mechanism can use getinfolist. Regards, Anthony Liguori Daniel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |