From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web10.13786.1581442803196012807 for ; Tue, 11 Feb 2020 09:40:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=QtlkuSd7; spf=pass (domain: linaro.org, ip: 209.85.221.50, mailfrom: alex.bennee@linaro.org) Received: by mail-wr1-f50.google.com with SMTP id m16so13448348wrx.11 for ; Tue, 11 Feb 2020 09:40:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=Noqmg8cfjHwzPPaplaraDi7BhzESC7+sjf6K+biuZhM=; b=QtlkuSd7yE12W4PWDNQzeFTPIKiyMKrNhmIv7nzOIr4uAfqUto7mcK4Hg8QqT5Ermq TjgwjUPI9ViFU+JKkFXsjthrqe1srKtcyT4mFbtGhWecgFJCqLGpjtjXKDpryX1a2ruk OvczoaLjExveCmSgDfqTIgjju2XhCKzxo3fYLRaZlcdsSGE78mv7SCAi5wTVQyxrYAo+ kSFsZRNWayThkeQCOIw9RCBU1MTIFdN+mCaH2ldJPdAnSbgBvXiiVPSrGsC0iIPPsCrn X1LmY5gXSr64tMgNM09lJdsQSyCkOgaBZdwAsqJMwcHQG/Qqzz/FeaSdnycyoX0qnlYp 9PEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=Noqmg8cfjHwzPPaplaraDi7BhzESC7+sjf6K+biuZhM=; b=CUVlyBF9xTY7Y5BrWbcL0xgENQ1yS2VRkAno7JfcDgPnyj7+4Yxqq1IPUoSmootc7Q vkFq4JKF/cwShLfD4+jX/1AW9E8iM8nGWD+ypoFaaXr8SSJHgzEPrQMUeDzDJJ0QgBz5 Kpmkx6Evp/EX5BbYR6TqXiItmgpUiiQWD/9At9Je1HsXZadz1+pPiiceKRoEPGkBSyfu J69moXo29ukWUg44fEJdH9smoXS8+Gh16bL01jkMJrK8OXx7zX1kWBc42M2WEgSb727R RP8KsEssJEbhnhD7RHph2ygiy3sbzLDs4InT+iI0GTZBUVjqMx5tE6QCtQmap6IXhJ1E cf6Q== X-Gm-Message-State: APjAAAWIJPX1pkyCYGq6mLbm5PIh3YcDqfadqhWoiaJX7rUyXvwDbWKy WvKJ6mWs5PaOlumPGfws7CocqI7gykg= X-Google-Smtp-Source: APXvYqyQa2MNqC8Ysve4VGRi0dHffUp/QDzZi8NkvJsC5QCeTTc3Q2YZHPfwaL47iYyN6DJoAwYuBw== X-Received: by 2002:adf:e5c4:: with SMTP id a4mr10283320wrn.292.1581442801122; Tue, 11 Feb 2020 09:40:01 -0800 (PST) Return-Path: Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v17sm6024754wrt.91.2020.02.11.09.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 09:40:00 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 67DC41FF87; Tue, 11 Feb 2020 17:39:59 +0000 (GMT) References: User-agent: mu4e 1.3.8; emacs 26.1 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: wuchenye1995 Cc: discuss , "devel\@edk2.groups.io" , zhoujianjay , qemu-devel@nongnu.org Subject: Re: A problem with live migration of UEFI virtual machines In-reply-to: Date: Tue, 11 Feb 2020 17:39:59 +0000 Message-ID: <87sgjhxbtc.fsf@zen.linaroharston> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable wuchenye1995 writes: > Hi all, > We found a problem with live migration of UEFI virtual machines due to= size of OVMF.fd changes. > Specifically, the size of OVMF.fd in edk with low version such as edk-= 2.0-25 is 2MB while the size of it in higher version such as edk-2.0-30 is = 4MB. > When we migrate a UEFI virtual machine from the host with low version = of edk2 to the host with higher one, qemu component will report an error in= function qemu_ram_resize while > checking size of ovmf_pcbios: Length mismatch: pc.bios: 0x200000 in !=3D = 0x400000: Invalid argument. > We want to know how to solve this problem after updating the > version of edk2. You can only migrate a machine that is identical - so instantiating a empty machine with a different EDK image is bound to cause a problem because the machines don't match. --=20 Alex Benn=C3=A9e