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

[libvirt] [PATCHv3 0/2] Add non-FreeBSD guest support to Bhyve driver.



Drvbhyve hardcodes bhyveload(8) as the host bootloader for guests.
bhyveload(8) loader only supports FreeBSD guests.

This patch adds <bootloader> and <bootloader_args> handling to
bhyve_command, so libvirt can boot non-FreeBSD guests in Bhyve.

See patch logs for further details.

Thanks,
Conrad

Changelog:
v3:
  - Based on latest git as of less than an hour ago; tested HDD booting a Linux
    guest several times.
  - Added first cut at CD booting. I'm not sure grub-bhyve supports this
    (was not able to to test it).
  - make 'syntax-check' clean
  - Per Roman (off-list), split up virBhyveProcessBuildLoadCmd into a few
    smaller functions.
  - Also per Roman (off-list), use virCommandAddArgSet() for bootloader_args.
    (Without the nasty cast, my compiler complains.)
v2:
  - Dropped hvm -> xen change per Peter's feedback.


Conrad Meyer (2):
  bhyve: Support /domain/bootloader configuration for non-FreeBSD
    guests.
  Generated PO files for 'bhyve: Support /domain/bootloader'

 docs/drvbhyve.html.in     |  28 ++++++-
 docs/formatdomain.html.in |   4 +-
 po/af.po                  |   5 ++
 po/am.po                  |   5 ++
 po/ar.po                  |   5 ++
 po/as.po                  |   5 ++
 po/be.po                  |   5 ++
 po/bg.po                  |   5 ++
 po/bn.po                  |   5 ++
 po/bn_IN.po               |   5 ++
 po/bo.po                  |   5 ++
 po/bs.po                  |   5 ++
 po/ca.po                  |   5 ++
 po/cs.po                  |   5 ++
 po/cy.po                  |   5 ++
 po/da.po                  |   5 ++
 po/de.po                  |   5 ++
 po/el.po                  |   5 ++
 po/en_GB.po               |   5 ++
 po/es.po                  |   5 ++
 po/et.po                  |   5 ++
 po/eu_ES.po               |   5 ++
 po/fa.po                  |   5 ++
 po/fi.po                  |   5 ++
 po/fr.po                  |   5 ++
 po/gl.po                  |   5 ++
 po/gu.po                  |   5 ++
 po/he.po                  |   5 ++
 po/hi.po                  |   5 ++
 po/hr.po                  |   5 ++
 po/hu.po                  |   5 ++
 po/hy.po                  |   5 ++
 po/id.po                  |   5 ++
 po/is.po                  |   5 ++
 po/it.po                  |   5 ++
 po/ja.po                  |   5 ++
 po/ka.po                  |   5 ++
 po/kn.po                  |   5 ++
 po/ko.po                  |   5 ++
 po/ku.po                  |   5 ++
 po/libvirt.pot            |   5 ++
 po/lo.po                  |   5 ++
 po/lt.po                  |   5 ++
 po/lv.po                  |   5 ++
 po/mk.po                  |   5 ++
 po/ml.po                  |   5 ++
 po/mr.po                  |   5 ++
 po/ms.po                  |   5 ++
 po/my.po                  |   5 ++
 po/nb.po                  |   5 ++
 po/nl.po                  |   5 ++
 po/nn.po                  |   5 ++
 po/nso.po                 |   5 ++
 po/or.po                  |   5 ++
 po/pa.po                  |   5 ++
 po/pl.po                  |   5 ++
 po/pt.po                  |   5 ++
 po/pt_BR.po               |   5 ++
 po/ro.po                  |   5 ++
 po/ru.po                  |   5 ++
 po/si.po                  |   5 ++
 po/sk.po                  |   5 ++
 po/sl.po                  |   5 ++
 po/sq.po                  |   5 ++
 po/sr.po                  |   5 ++
 po/sr latin po            |   5 ++
 po/sv.po                  |   5 ++
 po/ta.po                  |   5 ++
 po/te.po                  |   5 ++
 po/th.po                  |   5 ++
 po/tr.po                  |   5 ++
 po/uk.po                  |   5 ++
 po/ur.po                  |   5 ++
 po/vi.po                  |   5 ++
 po/vi_VN.po               |   5 ++
 po/zh_CN.po               |   5 ++
 po/zh_TW.po               |   5 ++
 po/zu.po                  |   5 ++
 src/bhyve/bhyve_command.c | 204 ++++++++++++++++++++++++++++++++++++++++++----
 src/bhyve/bhyve_driver.c  |   5 ++
 src/bhyve/bhyve_process.c |   5 ++
 src/bhyve/bhyve_utils.h   |   1 +
 82 files changed, 604 insertions(+), 23 deletions(-)

-- 
1.9.3


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