From nobody Sat Apr 20 08:12:47 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1562589455; cv=none; d=zoho.com; s=zohoarc; b=OVhLfjby1dKzWwuo4qcq9L1suAkDvaHyrEzfgrBIp0iebre2vLjlICR01OHFi6vJH4C1LkuGDsJmmvuN1zvpfEnmkKktK5Sr+Zgfc61haY1JJeuXwHZiNyE7XsGv8HulzANhHGBiv2s7FqXensFE3WaPHS1pEilGoGGVya/SXj8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562589455; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=GmbBicd8n7qgN+F/biF+D9v5n+HRAtVUZbmdJ9YArd8=; b=NTAGhinTGHGcoLEx+z+xKBpfEZKInzRs5wVUvrq6kogkURZ9rze2eLM+dX/Fubgmwf9pBT7Et25lnNUoKVhT/9DgdIKxfqpGToVbCPcdB4MFSueKZottJ20wTaTHkR8K51g6oDka3fp1L5fJLWs17L2jyQFfDAeNoJsjOtOf6bE= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1562589455330288.2071953347629; Mon, 8 Jul 2019 05:37:35 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hkSsO-0003I5-1B; Mon, 08 Jul 2019 12:36:12 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hkSsN-0003I0-3M for xen-devel@lists.xenproject.org; Mon, 08 Jul 2019 12:36:11 +0000 Received: from mail-lj1-x242.google.com (unknown [2a00:1450:4864:20::242]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id f666d72c-a17c-11e9-8980-bc764e045a96; Mon, 08 Jul 2019 12:36:10 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id k18so15716290ljc.11 for ; Mon, 08 Jul 2019 05:36:10 -0700 (PDT) Received: from 3489.kyiv.epam.com (ll-22.209.223.85.sovam.net.ua. [85.223.209.22]) by smtp.gmail.com with ESMTPSA id q6sm3645335lji.70.2019.07.08.05.36.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 05:36:07 -0700 (PDT) X-Inumbo-ID: f666d72c-a17c-11e9-8980-bc764e045a96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GZoG1KtPYtC6yW7gvss4ZWEMmcA2S/pE2GGo7tuIv1g=; b=ahECgXrlKRQOxriMPkS1GaIKUW0YQZe1o+wgZ1WDeKtgOlKYPUmSY6/Df5lylt28gg LuhtdR7iM2SY6HznU0vgbFRhsHArAj92u/DBV7O2vOs/HDU802iZSWwQbAkzP92hfR7b L2VMf+3ZDivVfu5SAb9PjJNUdErM4xubYazCEyBMfop4JavRX/5mzDkHtIm0jriZ2sco YhudbRuhkQxv0Vc++aFga6LvFaEEA0hXLdv73HpLuYk5rw4a8gTUeNHcKBjPBXTumWy0 X93ill6aMPUkTD/Uq48bbY+stUHhHXDMw2W/thYPsnuM2vWAR4W7srTvKL1cse57nNkV tPBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GZoG1KtPYtC6yW7gvss4ZWEMmcA2S/pE2GGo7tuIv1g=; b=DppvyQpwIeCS/KP9RXBdE9fqfd8QDyGlVZym5BThsLD/6tjctohqQByNr4cAnNV22x YuBaWuP9jIAhlda7XVR9yxl9xCh0AB5MfzPLuqieEMiKyITTo0sEdEDZ5wdMFD2NCXiY lsPmUwNma7UFfg1QI+vb4mzSpvG3LYemXXHsUOzGVkV8jpFklUN/2TrMyff215UWkk2Z Bs6oVAhy9wQnRkGpqJVKWHQvXiL3P2SrEwvdnwQZTSLvChSDRjaSQFV8easVmoOWh26b fiD+z2OFDe7ARk1T0bCmwYYkJI3pSj48qxZGXNZUc2NaxxC5C6MMDGlI8BBpnTqKxyAx ijKg== X-Gm-Message-State: APjAAAWktrIj8SZrkvWAWvZNILaFDNR3rJ0Ul1jRBasJ7ebrU9RyoKyt YCdzv0OLKwTN0oZKNh6sCWAduH4JUfg= X-Google-Smtp-Source: APXvYqxSFMP1feE2Af4AEbdGrxd21/cFw38Oz7raoaX4qF+7+yZaqGEprGN+0Rrbz2IDZTImuZOYgQ== X-Received: by 2002:a2e:8802:: with SMTP id x2mr10106419ljh.200.1562589368399; Mon, 08 Jul 2019 05:36:08 -0700 (PDT) From: Viktor Mitin To: xen-devel@lists.xenproject.org Date: Mon, 8 Jul 2019 15:35:45 +0300 Message-Id: <20190708123545.19406-1-viktor.mitin.19@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] Improve Dom0-less documentation X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Viktor Mitin , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich , Viktor Mitin Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Updated configuration example according to arm64 and added more cases about known xl limitations. Signed-off-by: Viktor Mitin --- docs/features/dom0less.pandoc | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/docs/features/dom0less.pandoc b/docs/features/dom0less.pandoc index e076e3739e..961813696f 100644 --- a/docs/features/dom0less.pandoc +++ b/docs/features/dom0less.pandoc @@ -62,19 +62,19 @@ device tree adding a node under /chosen as follows: =20 domU1 { =C2=A0 =C2=A0 compatible =3D "xen,domain"; - =C2=A0 =C2=A0 memory =3D <0x20000>; + =C2=A0 =C2=A0 memory =3D <0x0 0x20000>; =C2=A0 =C2=A0cpus =3D 1; =C2=A0=C2=A0 =C2=A0vpl011; =20 =C2=A0 =C2=A0 module@2000000 { =C2=A0 =C2=A0 =C2=A0 =C2=A0 compatible =3D "multiboot,kernel", "multib= oot,module"; - =C2=A0 =C2=A0 =C2=A0 =C2=A0 reg =3D <0x2000000 0xffffff>; + =C2=A0 =C2=A0 =C2=A0 =C2=A0 reg =3D <0x0 0x2000000 0x0 0xffffff>; =C2=A0 =C2=A0 =C2=A0 =C2=A0 bootargs =3D "console=3DttyAMA0"; =C2=A0 =C2=A0 }; =20 =C2=A0 =C2=A0 module@30000000 { =C2=A0 =C2=A0 =C2=A0 =C2=A0 compatible =3D "multiboot,ramdisk", "multi= boot,module"; - =C2=A0 =C2=A0 =C2=A0 =C2=A0 reg =3D <0x3000000 0xffffff>; + =C2=A0 =C2=A0 =C2=A0 =C2=A0 reg =3D <0x0 0x3000000 0x0 0xffffff>; =C2=A0 =C2=A0 }; }; =20 @@ -90,12 +90,25 @@ Limitations Domains started by Xen at boot time currently have the following limitations: =20 -- They cannot be properly shutdown or rebooted using xl. If one of them - crashes, the whole platform should be rebooted. - - Some xl operations might not work as expected. xl is meant to be used - with domains that have been created by it. Using xl with domains - started by Xen at boot might not work as expected. + with domains that have been created by it: + + -> Using xl with domains started by Xen at boot might not work + as expected. + + -> They cannot be properly shutdown or rebooted using xl. + If one of them crashes, the whole platform should be rebooted. + + -> 'xl console' command will not switch console input. + Type 'CTRL-a' three times to switch input in case of dom0less mode. + + -> 'xl list' prints the list of domains. + However DomU names are shown as '(null)' in the list. For example: + + root@dom0:~# xl list + Name ID Mem VCPUs State Time(s) + Domain-0 0 256 4 r----- 6.2 + (null) 1 256 1 -b---- 1.7 =20 - The GIC version is the native version. In absence of other information, the GIC version exposed to the domains started by Xen at --=20 2.17.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel