[libvirt] [PATCH v8] bhyve: add a basic driver

Roman Bogorodskiy bogorodskiy at gmail.com
Tue Feb 11 19:13:19 UTC 2014


Changes from v7:
 - Squashed in ACL support
 - Check for disk and bus type for bhyve and disk type for bhyveload
 - Handle case when URI == NULL in ConnectOpen
 - Call bhyveload only after we've built bhyve command to avoid
   unneeded load/reload for wrong domain configuration
 - Cleanup unload calls on errors
 - Minor style fixes

Changes from v6:
 - Fix typo: s/LIBIVRT_DRIVER_RESULT_BHYVE/LIBVIRT_DRIVER_RESULT_BHYVE/
 - Report domain state in 'dominfo'
 - Add a patch which implements ACL support

Now both 'make check' and 'make syntax-check' pass.

Changes from v5:
 - Obtain version using uname(3)
 - Cleanup driver global objects in StateCleanup instead
   of ConnectClose

Changes from v4:
 - Set acpi and apic flags based on domain definition
 - Add more detailed description about -H and -P flags
   of bhyve to justify theirs usage

Roman Bogorodskiy (1):
  bhyve: add a basic driver

 configure.ac                |   7 +
 daemon/libvirtd.c           |   9 +
 include/libvirt/virterror.h |   1 +
 m4/virt-driver-bhyve.m4     |  57 ++++
 po/POTFILES.in              |   3 +
 src/Makefile.am             |  31 +++
 src/bhyve/bhyve_command.c   | 314 ++++++++++++++++++++++
 src/bhyve/bhyve_command.h   |  41 +++
 src/bhyve/bhyve_driver.c    | 625 ++++++++++++++++++++++++++++++++++++++++++++
 src/bhyve/bhyve_driver.h    |  28 ++
 src/bhyve/bhyve_process.c   | 227 ++++++++++++++++
 src/bhyve/bhyve_process.h   |  36 +++
 src/bhyve/bhyve_utils.h     |  48 ++++
 src/conf/domain_conf.c      |   3 +-
 src/conf/domain_conf.h      |   1 +
 src/driver.h                |   1 +
 src/libvirt.c               |   3 +
 src/util/virerror.c         |   1 +
 18 files changed, 1435 insertions(+), 1 deletion(-)
 create mode 100644 m4/virt-driver-bhyve.m4
 create mode 100644 src/bhyve/bhyve_command.c
 create mode 100644 src/bhyve/bhyve_command.h
 create mode 100644 src/bhyve/bhyve_driver.c
 create mode 100644 src/bhyve/bhyve_driver.h
 create mode 100644 src/bhyve/bhyve_process.c
 create mode 100644 src/bhyve/bhyve_process.h
 create mode 100644 src/bhyve/bhyve_utils.h

-- 
1.8.4.3




More information about the libvir-list mailing list