[PATCH v10] bhyve: add a basic driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes from v9:
 - Fix AC_PATH_PROG macro usage for bhyve tools
 - Check for readdir() failures
 - Make sure we go only with disk type 'file'
 - Remove unneeded locking from bhyveConnectGetCapabilities()
 - Don't check for NULL before calling virObjectUnlock()
 - s/INFO/DEBUG/ for low level domain operations
 - Ignore logfd close errors in bhyve_process.c
 - Drop unneeded virReportError for virDomainDefParseString()
 - Indent and style fixes

Changes from v8:
 - Implement domainUndefine and two more functions it depends on:
   domainIsActive and bhyveDomainIsPersistent

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             |  32 +++
 src/bhyve/bhyve_command.c   | 331 ++++++++++++++++++++++++
 src/bhyve/bhyve_command.h   |  41 +++
 src/bhyve/bhyve_driver.c    | 612 ++++++++++++++++++++++++++++++++++++++++++++
 src/bhyve/bhyve_driver.h    |  28 ++
 src/bhyve/bhyve_process.c   | 224 ++++++++++++++++
 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, 1437 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

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]