From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web12.5583.1641557252119748332 for ; Fri, 07 Jan 2022 04:07:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CerjDbuh; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641557251; 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: in-reply-to:in-reply-to:references:references; bh=U7tjR1VmJWl2M0e41ADF5jtNZMCYnb6/Gi6zg1kXUg0=; b=CerjDbuhcKVnWS9H/iX7509uprN3pgy9Hkk49VB9PoOUoMhR9wzeiYOU47fCnRcS8EHOBa ywUWFMsYw9kg4sFt8THmurI+AYUDe+YSKLqwBSk55wCZwa1SFaWggRakPByI3vAjeWsbgE k9Rtv3+Wj8yeTqiktmPU2srVPTr552Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-529-o5vbtKHZOBW-thtOgmL-BQ-1; Fri, 07 Jan 2022 07:07:28 -0500 X-MC-Unique: o5vbtKHZOBW-thtOgmL-BQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0492681CCB5; Fri, 7 Jan 2022 12:07:27 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AC8337E22E; Fri, 7 Jan 2022 12:07:26 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id DF38F1800612; Fri, 7 Jan 2022 13:07:24 +0100 (CET) Date: Fri, 7 Jan 2022 13:07:24 +0100 From: "Gerd Hoffmann" To: "Boeuf, Sebastien" Cc: "devel@edk2.groups.io" Subject: Re: EFI shell with microvm Message-ID: <20220107120724.3pq4s4xybskjhxta@sirius.home.kraxel.org> References: <20220106124401.btcx5ykka2k37sae@sirius.home.kraxel.org> <6abb6308f466cc68d4e643469d973b369f12a5b5.camel@intel.com> MIME-Version: 1.0 In-Reply-To: <6abb6308f466cc68d4e643469d973b369f12a5b5.camel@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > > microvm has no lpc bridge, so I had to do it in a different way ... > > Cloud Hypervisor doesn't emulate any LPC bridge or ISA bus. Ok, doing it microvm-style makes sense then. > > Works fine for me. > > > > qemu-system-x86_64 -nographic -machine microvm,rtc=on -bios > > Build/MicrovmX64/DEBUG_GCC5/FV/MICROVM.fd > > Thanks for the confirmation, something might be wrong with the > interrupt used for my serial device. tianocore doesn't use interrupts (other than timer). > Cloud Hypervisor only has an IOAPIC, it doesn't rely on any PIC, which > is why I'm not sure what might be missing to get the EFI shell to > receive the interrupts. PIC is optional for microvm too, and everything works fine for me with "-machine microvm,rtc=on,pic=off,pit=off" take care, Gerd