On 07/19/2014 06:03 PM, Roman Bogorodskiy wrote:
Add support for CDROM devices for bhyve driver using
bhyve(8)'s 'ahci-cd' device type.
As bhyve currently does not support media insertion at runtime,
disallow to start a domain with an empty source path for cdrom
devices.
---
src/bhyve/bhyve_command.c | 43 +++++++++++++++++-----
.../bhyvexml2argv-disk-cdrom.args | 3 ++
.../bhyvexml2argvdata/bhyvexml2argv-disk-cdrom.xml | 22 +++++++++++
tests/bhyvexml2argvtest.c | 1 +
4 files changed, 59 insertions(+), 10 deletions(-)
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-disk-cdrom.args
create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-disk-cdrom.xml
ACK
Jan