The following series of patches implement virConnectDomainXMLFromNative. This
is mostly some boiler plate code generating argv-lists from the native command
string, and two getopt-based argument parsers for the /usr/sbin/bhyve and
/usr/sbin/bhyveload commands.

Since there is quite some string handling involved especially in the first
patch that I am not 100% sure about, I'd appreciate a thorough review.

Fabian Freyer (3):
  bhyve: implement virConnectDomainXMLFromNative
  bhyve: implement bhyve argument parser
  bhyve: implement argument parser for loader

 po/POTFILES.in                  |   1 +
 src/Makefile.am                 |   2 +
 src/bhyve/bhyve_driver.c        |  42 ++
 src/bhyve/bhyve_parse_command.c | 869 ++++++++++++++++++++++++++++++++++++++++
 src/bhyve/bhyve_parse_command.h |  30 ++
 5 files changed, 944 insertions(+)
 create mode 100644 src/bhyve/bhyve_parse_command.c
 create mode 100644 src/bhyve/bhyve_parse_command.h

-- 
2.7.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to