From owner-freebsd-xen@freebsd.org Sun Mar 14 20:30:47 2021 Return-Path: Delivered-To: freebsd-xen@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77D975B11C6 for ; Sun, 14 Mar 2021 20:30:47 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DzB5L23Ltz4ht4 for ; Sun, 14 Mar 2021 20:30:45 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: by mail-ed1-x533.google.com with SMTP id h13so14933846eds.5 for ; Sun, 14 Mar 2021 13:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=olevole-ru.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=EMZUzASlxFAs5ATevsUp0AslAb2z7EvkoKIYx36tS7c=; b=ooYbWN3tfLTcArAyFYJLDqtNaF1vVSvZDzic2PRA22H03e3Q0z+PNluKJouuPLClHJ LzO9YX33BijLwtLLB7CYaj3pT93Rw+Z9/JXGYD7dzmfiVjfqSmiEZZvqkvwVXtPbTbNH zGvFqRh2RafRxpO7fRwr0tyZPnQsK8gJTofyS/anSfnuiThs9QWopq3qDIl+ILh9SybR SIeytvWjEfbwGOx/Nn5aye36xyRRImfusdIZKoT2B018fQCF/SxlwPpLSwsi88BoA/O8 GdMPn+tWnowUIsoEruNWBsta1JukyzXzupJi2RxW6pjAwlHiMGjixF+XRDeGsa3uPbQU lHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EMZUzASlxFAs5ATevsUp0AslAb2z7EvkoKIYx36tS7c=; b=gM/utU5+UPmBf1NDgppq7XXGwRVGZ/DZNQrcJjKoxYW+ueu7o+ocySDWbV4WPnQaNx 1Q6YpT7+KSJviK2nKwQhDaJ51YXv9z0BGqnqpWF2sTyO5ua/9JtbxeN8EJgggb2KwvIg jcrJPMcqhic4B/HUj0Tg6xbDpbl2+fVL4TV9xyWfuvoSYRfwHlryWE7Gbrfhz5es7H6Z 1nQEExJJHAXmEKR99VgOucAXU5UAppgzSbBJx4cfQmNdJUmX2B3xuxv8/q2yIQFDQHCu 8r8p9Y03n+d515Ek8/KSATU4IBKk6UNvAzSaSPsh0njAFQFvYWNQIeBw38FDqC05i1tW ef/Q== X-Gm-Message-State: AOAM5311aICIqbxjuYrFfG8zMMiOpe8u1VDt9gT2mkZMltgoDY8FNoD4 oPxTOJyqecKhEo5y119vaOMJ0m6ml7Hf0GKaxgDKT7vAZ+qFSTyb X-Google-Smtp-Source: ABdhPJzjqp7+v6IHgFNlC+yYIkSK4s0659WxQid009c0dPdBsFfnk5NnOHSqPqw9eMPhT2f/9PgB/8Gk91nI4bAdT0U= X-Received: by 2002:aa7:c346:: with SMTP id j6mr26417400edr.386.1615753844414; Sun, 14 Mar 2021 13:30:44 -0700 (PDT) MIME-Version: 1.0 From: Oleg Ginzburg Date: Sun, 14 Mar 2021 23:30:33 +0300 Message-ID: Subject: XEN with UEFI guest To: freebsd-xen@freebsd.org X-Rspamd-Queue-Id: 4DzB5L23Ltz4ht4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=olevole-ru.20150623.gappssmtp.com header.s=20150623 header.b=ooYbWN3t; dmarc=none; spf=none (mx1.freebsd.org: domain of olevole@olevole.ru has no SPF policy when checking 2a00:1450:4864:20::533) smtp.mailfrom=olevole@olevole.ru X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[olevole-ru.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-xen@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::533:from:127.0.2.255]; DMARC_NA(0.00)[olevole.ru]; DKIM_TRACE(0.00)[olevole-ru.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::533:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-xen]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2021 20:30:47 -0000 Hi, I recently tried to use the Xen dom0 through UEFI loader and, finally, it worked! (Thanks to Roger). Now I try to use UEFI boot method in the guest and for some reason, the domain does not start. The documentation says that this option requires extra config params, so I added an option to port: -- root@home2:/usr/ports/sysutils/xen-tools# svnlite diff Index: Makefile =================================================================== --- Makefile (revision 568404) +++ Makefile (working copy) @@ -21,12 +21,14 @@ BUILD_DEPENDS= seabios>0:misc/seabios RUN_DEPENDS= seabios>0:misc/seabios -OPTIONS_DEFINE= DOCS SPICE +OPTIONS_DEFINE= DOCS SPICE OVMF OPTIONS_DEFAULT= DOCS OPTIONS_SUB= yes SPICE_DESC= Enable SPICE protocol for QEMU +OVMF_DESC= Enable OVMF support SPICE_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-spice" +OVMF_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-ovmf" SPICE_BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol SPICE_LIB_DEPENDS= libspice-server.so:devel/libspice-server -- However, the guest does not start if I add the necessary option to the configuration file: bios='ovmf' In addition, I do not see anything suspicious in the log: https://pastebin.com/Ss2YK25b Any help and tip is welcome.