It is possible to boot from virtio-scsi with UEFI-devel, for example.
Signed-off-by: Ryan Moeller <ryan(a)iXsystems.com>
---
src/bhyve/bhyve_command.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/bhyve/bhyve_command.c b/src/bhyve/bhyve_command.c
index 9f4030f6a3..048c26733a 100644
--- a/src/bhyve/bhyve_command.c
+++ b/src/bhyve/bhyve_command.c
@@ -993,11 +993,8 @@ virBhyveGetBootDisk(virDomainDefPtr def)
virDomainDiskDefPtr match = NULL;
int boot_dev = -1;
- if (def->ndisks < 1) {
- virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("Domain should have at least one disk defined"));
+ if (def->ndisks == 0)
return NULL;
- }
if (def->os.nBootDevs > 1) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
--
2.24.1