From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web11.55585.1585587893212266601 for ; Mon, 30 Mar 2020 10:04:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=gbmobfvr; spf=pass (domain: linaro.org, ip: 209.85.128.66, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f66.google.com with SMTP id e9so10901151wme.4 for ; Mon, 30 Mar 2020 10:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=c8wHoR16PTMm0mSxQGJuhtC/5pSJFLGLhJ/vAAFG8oE=; b=gbmobfvrRRHdYywgHikarmVVYS07ehMfzMPMeSxrSEFtcBPsxXbwmDdfJawLPCdOR+ 3dYGOSHPoZ/oxzk2lkeA8dFL33fCbczSnGUe50LEJKaHg28tkKjRQ3Y5BCOnHP3xmNJh zNbJocEG0KF0A38l3h3NdBh4XTH5aEToHW9qb0Va+2dDn1OJWV8dGLi359o1ROzqkz+L YrtPNHvCAaQUk3VKe7W//wuSvXc496QaZ/eZMAcZ+TJNXPt5Ae72RswpZlT6a+7V4O50 6M59oogjBeDH3IRdsib/zCArFNViVp2Cb4AlLzk7YibPQ1JjV8bBwbkF1u9kR/s9Kz/o Tmgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=c8wHoR16PTMm0mSxQGJuhtC/5pSJFLGLhJ/vAAFG8oE=; b=eDPh8SDyNlGm0jyTmasumMesxmwmcWJSUoDG67N3zIuuY4V1npJdvWynD5bi+/ysgQ g5WBOyXxsT4jRAUm4Fl3IHWemvoLugXGDy6q3S2q5Lh+QfmEBzUnSL27L6y2HLOn6b6K RS10tvhn+MwZJoiuNrw0G4H+c1QvBu7Husw6KJzBIPxUmBMal+IJpxb14aR9fD3Sa8Fx GeUeGkyW8SkB4iYzn0+mIzbd/VJKrj/eg/j6g5Vyc3hMOOF4m2ngXX8UJ+GbRKfcBDL1 bbfjZp+2gNv0BSFQ9NDRVgJtc8PUSDHSpUTCqQd4vdUH8oUgSs/FSPNQYn+CgbvQCj2P iKrw== X-Gm-Message-State: ANhLgQ299cOwrshIRbS52CV2LLFW+2mv/VOInG7IGoIdXQkJFG+TGN/z 1FxUOdJs6mpE/qKF3ful4pt6tHkQJxHF3AckNxrsNxFHsoc= X-Google-Smtp-Source: ADFU+vsGMvvQIwEJbKpQCQv4XUGPD1UXvwWxOi7592MFZEA5Uam2Y0cVnksaNcgnf1fsvjuVhF1qGjSVQFwlbt/YeRM= X-Received: by 2002:a7b:c050:: with SMTP id u16mr300598wmc.68.1585587891575; Mon, 30 Mar 2020 10:04:51 -0700 (PDT) MIME-Version: 1.0 References: <19211.1585587659874241589@groups.io> In-Reply-To: <19211.1585587659874241589@groups.io> From: "Ard Biesheuvel" Date: Mon, 30 Mar 2020 19:04:40 +0200 Message-ID: Subject: Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for OvmfPkg and EmulatorPkg To: edk2-devel-groups-io , Sean Brogan Content-Type: text/plain; charset="UTF-8" On Mon, 30 Mar 2020 at 19:01, Sean via Groups.Io wrote: > > On Mon, Mar 30, 2020 at 02:36 AM, Ard Biesheuvel wrote: > > It should be trivial to extend this to ARM, using TCG emulation. > > One question though: what happens if the boot does not make it to the > shell, and crashes for some reason? The QEMU process will hang, so I'd > assume some kind of timeout should be applied? > > It has a 1 minute timeout and then the build will kill the process. > > The bootlog is uploaded in all cases so you can then look at the log. > Here is an example where i didn't configure QEMU right: https://dev.azure.com/tianocore/edk2-ci-play/_build/results?buildId=4942&view=logs&j=6fb09fdb-58e7-5b12-0698-873f788bd2e9&t=e63402bd-99b5-5ddd-38f9-868e9402ecc0 > > And the last lines in the bootlog.txt show > > MaxCpuCountInitialization: BootCpuCount=1 mMaxCpuCount=1 > Q35BoardVerification: no TSEG (SMRAM) on host bridge DID=0x1237; only DID=0x29C0 (Q35) is supported > ASSERT /home/vsts/work/1/s/OvmfPkg/PlatformPei/Platform.c(564): ((BOOLEAN)(0==1)) > OK, great. So we're all set :-) Is there any way I could contribute ArmVirtQemu to this? Or would it be easier if I provided comments/instructions?