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.133.124]) by mx.groups.io with SMTP id smtpd.web11.20635.1650544113912844864 for ; Thu, 21 Apr 2022 05:28:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ci2PUPpW; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650544113; 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=C6DbT6udHKKnNXVFwh7ZQQlicBWgvez6DmEFu5MfsNQ=; b=Ci2PUPpWH5Yjg4ne0gYF+lxfMYKfBU0dUMSk5+7Uflwjj+01HsiOG4P+GljiVn47z9lzT2 EDR6/jsLnB0zmTDpT/lQy+bOtEv/0hG6FdcBuUatS9w9L8Eqw7d4OW8k0XTFsdS0/kQdfJ qeyBX/PzVcsmyHslpvVxfd3DS4EAbgA= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-464-du5_jdzeNZ2t088-hFgjKw-1; Thu, 21 Apr 2022 08:28:22 -0400 X-MC-Unique: du5_jdzeNZ2t088-hFgjKw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E92311C0BF2B; Thu, 21 Apr 2022 12:28:21 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 222CD20296A2; Thu, 21 Apr 2022 12:28:01 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 4F4BC1800865; Thu, 21 Apr 2022 14:27:55 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Pawel Polawski , Gerd Hoffmann , Ard Biesheuvel , Liming Gao , Hao A Wu , Ray Ni , Oliver Steffen , Leif Lindholm , Jiewen Yao , Jordan Justen , Abner Chang , Jian J Wang Subject: [PATCH v4 4/6] OvmfPkg/Microvm/pcie: no vbeshim please Date: Thu, 21 Apr 2022 14:27:53 +0200 Message-Id: <20220421122755.1436026-5-kraxel@redhat.com> In-Reply-To: <20220421122755.1436026-1-kraxel@redhat.com> References: <20220421122755.1436026-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 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-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Those old windows versions which need the vbeshim hack will not run on microvm anyway. Signed-off-by: Gerd Hoffmann --- OvmfPkg/QemuVideoDxe/VbeShim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OvmfPkg/QemuVideoDxe/VbeShim.c b/OvmfPkg/QemuVideoDxe/VbeShim.c index 8faa146b6cce..2a048211a823 100644 --- a/OvmfPkg/QemuVideoDxe/VbeShim.c +++ b/OvmfPkg/QemuVideoDxe/VbeShim.c @@ -156,6 +156,8 @@ InstallVbeShim ( case INTEL_Q35_MCH_DEVICE_ID: Pam1Address = DRAMC_REGISTER_Q35 (MCH_PAM1); break; + case MICROVM_PSEUDO_DEVICE_ID: + return; default: DEBUG (( DEBUG_ERROR, -- 2.35.1