From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web12.9697.1636448183777946541 for ; Tue, 09 Nov 2021 00:56:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dy8VgYsS; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636448182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lrNEnso6p03l52PvJ/q3QFj7AMNkIXqtdBukLnHgpGY=; b=dy8VgYsSat65Taut7U7LXs5Y7O3Sv35GwM7MBBFPbpgPLGWKKRGJ7Y3W3N91/7DfvXr4A3 8FomWuiE5qcR0+BpRuVP2oeGREZjrfN+GcjvurPg5PpZP0rAJnmeg73BZVrHUelhClHD5N fF8NkXGWexi4ab+ndZkfC6spy9gbwko= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-417-guzyhMchO_K1ipJzBwVqbw-1; Tue, 09 Nov 2021 03:56:19 -0500 X-MC-Unique: guzyhMchO_K1ipJzBwVqbw-1 Received: by mail-wm1-f72.google.com with SMTP id l4-20020a05600c1d0400b00332f47a0fa3so821281wms.8 for ; Tue, 09 Nov 2021 00:56:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=lrNEnso6p03l52PvJ/q3QFj7AMNkIXqtdBukLnHgpGY=; b=FxYYwBxsHRhSBbQ+OrYVzqML0d+dT21LuhI3J0c8y+PiWUeGVZpGn74PXs56Zc5j9y S8ZlXnVXu+puD2gy5HoNUqRuvTK4IbAoSIzI+zvDmI7RjIMv78wncCVoizG0cX++gq3g +GpSENy46PgpyGJQHXBvu5iLVHAtOPkis8HeOWI5GLFMxQbRj37uP4PinCvs41PDqmql unLRKOdBdixhBwiFHeOvEXSEhcTEy9vwjveEf+7G6zB2mwoPj4plx8/Yv5cz9zwtKZS7 eooDvp49PH48EmgNSVZHWMzJJLsUF0uw4xvm/+7T7YO9RE6RzaG6vmoWatvilU73g2mZ 7hKQ== X-Gm-Message-State: AOAM531mFLeUWRq5JFIjr9PyEghqiRii1h45rnxodohoxQ4mwXDMJqAE nZBFxMFSe1jmidFPtOu+0zzzOoS1gbdNUX67Jos78MWXY0G9i5R6lOajmkwUvCcT7Z5VZrSRFvs 0pmoFqVyjgPz7yiqEl8aPFtD8249JUxBJkIUUnCUYtfvOBZakaOI20ChKaVdQCRk= X-Received: by 2002:a5d:588b:: with SMTP id n11mr7520396wrf.344.1636448177399; Tue, 09 Nov 2021 00:56:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPEIKGorB+6ynnmLu2W0qxYgJnuqPxzRyPIL+ujV902CrzYcqVYBkdGrvWuEp8ZUWa4I3nyg== X-Received: by 2002:a5d:588b:: with SMTP id n11mr7520361wrf.344.1636448177166; Tue, 09 Nov 2021 00:56:17 -0800 (PST) Return-Path: Received: from [192.168.1.36] (62.red-83-57-168.dynamicip.rima-tde.net. [83.57.168.62]) by smtp.gmail.com with ESMTPSA id o4sm2139680wmq.31.2021.11.09.00.56.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Nov 2021 00:56:16 -0800 (PST) Message-ID: Date: Tue, 9 Nov 2021 09:56:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [edk2-devel] [PATCH v2 5/5] OvmfPkg/Microvm: add README To: devel@edk2.groups.io, kraxel@redhat.com Cc: Jiewen Yao , Jordan Justen , Ard Biesheuvel References: <20211103150627.3133189-1-kraxel@redhat.com> <20211103150627.3133189-6-kraxel@redhat.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= In-Reply-To: <20211103150627.3133189-6-kraxel@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/3/21 16:06, Gerd Hoffmann wrote: > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599 > Signed-off-by: Gerd Hoffmann > Acked-by: Jiewen Yao > --- > OvmfPkg/Microvm/README | 50 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 OvmfPkg/Microvm/README > > diff --git a/OvmfPkg/Microvm/README b/OvmfPkg/Microvm/README > new file mode 100644 > index 000000000000..82e2bfe03d37 > --- /dev/null > +++ b/OvmfPkg/Microvm/README > @@ -0,0 +1,50 @@ > + > +This is an *experimental* port of OVMF for the qemu microvm > +machine type. 'QEMU' uppercase? > +microvm background info > +----------------------- > + > +microvm is designed for modern, virtio-based workloads. Most legacy > +lpc/isa devices like pit and pic can be turned off. virtio-mmio > +(i.e. '-device virtio-{blk,net,scsi,...}-device') is used for > +storage/network/etc. > + > +Optional pcie support is available and any pcie device supported by > +qemu can be plugged in (including virtio-pci if you prefer that over > +virtio-mmio). Ditto. > +https://qemu.readthedocs.io/en/latest/system/i386/microvm.html > +https://www.kraxel.org/blog/2020/10/qemu-microvm-acpi/ > + > +design issues > +------------- > + > +Not fully clear yet how to do hardware detection best. Right now > +using device tree to find virtio-mmio devices and pcie host bridge, > +can reuse existing ArmVirtPkg code that way. Needs patched qemu. Ditto.