On Fri, Jun 27, 2014 at 01:41:50PM +0200, Michal Privoznik wrote:
Sure, but I'd rather focus on getting in the API (even if in its
minimalistic reporting capabilities) and save your requests for a
follow up patch.
In that case, concentrating on the proposed API:
+ * virConnectGetDomainCapabilities:
+ * @conn: pointer to the hypervisor connection
+ * @emulatorbin: path to emulator
+ * @arch: domain architecture
+ * @machine: machine type
+ * @virttype: virtualization type
+ * @flags: extra flags; not used yet, so callers should always pass 0
It looks fine and is something we could use in libguestfs.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org