https://bugzilla.redhat.com/show_bug.cgi?id=1161831
Libvirtd will crash when parameter tcon = NULL in
virSecuritySELinuxSetFileconHelper
function, because libvirt do not check the first parameter when use strcmp().
Add a check for tcon before use strcmp() and output a error in log when tcon is
2014-10-24 20:09 GMT+02:00 Eric Blake ebl...@redhat.com:
On 10/18/2014 04:08 PM, Matthias Bolte wrote:
Store version numbers in this format
version = 100 * major + 1000 * minor + micro
produced by virParseVersionString instead of dedicated enums.
Split the complex esxVI_ProductVersion
We still default to bhyveloader(1) if no explicit bootloader
configuration is supplied in the domain.
If the /domain/bootloader looks like grub-bhyve and the user doesn't
supply /domain/bootloader_args, we make an intelligent guess and try
chainloading the first partition on the disk (or a CD if
Drvbhyve hardcodes bhyveload(8) as the host bootloader for guests.
bhyveload(8) loader only supports FreeBSD guests.
This patch series adds bootloader and bootloader_args handling to
bhyve_command, so libvirt can boot non-FreeBSD guests in Bhyve.
Additionally, support for grub-bhyve(1)'s
---
.../bhyvexml2argv-acpiapic.ldargs | 1 +
tests/bhyvexml2argvdata/bhyvexml2argv-base.ldargs | 1 +
.../bhyvexml2argvdata/bhyvexml2argv-console.ldargs | 1 +
.../bhyvexml2argv-disk-cdrom.ldargs| 1 +
.../bhyvexml2argv-disk-virtio.ldargs | 1 +
---
.../bhyvexml2argv-bhyveload-explicitargs.args | 3 +++
.../bhyvexml2argv-bhyveload-explicitargs.ldargs| 1 +
.../bhyvexml2argv-bhyveload-explicitargs.xml | 23 +
.../bhyvexml2argv-custom-loader.args | 3 +++
This enables booting interactive GRUB menus (e.g. install CDs) with
libvirt-bhyve.
Caveat: A terminal other than the '--console' option to 'virsh start'
(e.g. 'cu -l /dev/nmdm0B -s 115200') must be used to connect to
grub-bhyve because the bhyve loader path is synchronous and must occur
before
---
src/bhyve/bhyve_capabilities.c | 37 +
src/bhyve/bhyve_capabilities.h | 3 +++
2 files changed, 40 insertions(+)
diff --git a/src/bhyve/bhyve_capabilities.c b/src/bhyve/bhyve_capabilities.c
index 132ce91..6e9a943 100644
---
Additionally, make the bootloader tag optional (for bhyveload with
custom arguments) (also, matches the actual parser).
---
docs/schemas/domaincommon.rng | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/docs/schemas/domaincommon.rng
---
.../bhyvexml2argv-serial-grub-nocons.args | 4
.../bhyvexml2argv-serial-grub-nocons.devmap| 1 +
.../bhyvexml2argv-serial-grub-nocons.ldargs| 2 ++
.../bhyvexml2argv-serial-grub-nocons.xml | 26 ++
10 matches
Mail list logo