[libvirt] [PATCH] bhyve: add console support through nmdm device

Roman Bogorodskiy bogorodskiy at gmail.com
Sat Mar 15 12:30:00 UTC 2014


Some additional info on nmdm devices that probably doesn't fit commit message.

Man page:

http://www.freebsd.org/cgi/man.cgi?query=nmdm&sektion=4

To use this device, we pass device name like '/dev/nmdmNA' to bhyve. Device
is created automatically when bhyve accesses it. The pair device name is
always '/dev/nmdmNB' which is used to provide console support.

Even though this patch doesn't directly depend on virFDStreamOpenPTY()
addition patch:

https://www.redhat.com/archives/libvir-list/2014-March/msg00582.html

it's not much useful without it because of mangled console output.

Roman Bogorodskiy (1):
  bhyve: add console support through nmdm device

 src/bhyve/bhyve_command.c    | 34 ++++++++++++++++++++++
 src/bhyve/bhyve_driver.c     | 69 ++++++++++++++++++++++++++++++++++++++++++++
 src/conf/domain_audit.c      |  1 +
 src/conf/domain_conf.c       | 12 +++++++-
 src/conf/domain_conf.h       |  1 +
 src/qemu/qemu_monitor_json.c |  1 +
 6 files changed, 117 insertions(+), 1 deletion(-)

-- 
1.8.4.2




More information about the libvir-list mailing list