From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95503C7618F for ; Wed, 17 Jul 2019 19:03:47 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60EF021849 for ; Wed, 17 Jul 2019 19:03:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="YKdSaTnT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60EF021849 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:59998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnpDO-0003SN-Cj for qemu-devel@archiver.kernel.org; Wed, 17 Jul 2019 15:03:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnpDD-0002yV-K9 for qemu-devel@nongnu.org; Wed, 17 Jul 2019 15:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnpDC-0006xJ-Jj for qemu-devel@nongnu.org; Wed, 17 Jul 2019 15:03:35 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:46148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hnpDA-0006uk-Ai; Wed, 17 Jul 2019 15:03:32 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6HIxI3t026358; Wed, 17 Jul 2019 19:03:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2018-07-02; bh=V7e+XXFzPW5WszOwkN7h3+PDc4pc9hf50+KV6NIc37c=; b=YKdSaTnTi5LUMkXZRXofxamLoyf/ffqhANReP8b7MjPAMvGb6eAcXfZB5M1czJ5wR2vr 7XSgP6x2TxL+JEh3YylSQU6CkuvY6Iz/Hvcl+Cp7m5QC2aP1tr2L7ZIsBMKNpQ7zC4OW 5cy2PuIV0vcw4tI49AxuXNnIbevoLLSKgYYrrzr1huAtzRzuslLcCrCGO0WxJFzh55q5 Ulpd70Zb5+3VX4uHFsB+RAj5hIKev2JhtS7CxJCOuCQvnqECI/opj0tRMp9wPLEJcOjD 98XhH+mQQPZYGSGrCvT2MH1IP0QTKk4wrddc2ovuTofuZvlApiOsk2XJqcyx3rDDP8G/ qg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2tq78pvrqh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2019 19:03:28 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6HJ2Xxs186883; Wed, 17 Jul 2019 19:03:27 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2tsmcckddf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2019 19:03:27 +0000 Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6HJ3PKF024125; Wed, 17 Jul 2019 19:03:26 GMT Received: from [10.0.0.38] (/79.181.134.95) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Jul 2019 19:03:25 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) From: Sam Eiderman In-Reply-To: <424BE97C-7EAF-4B28-B580-AC2B5261197C@oracle.com> Date: Wed, 17 Jul 2019 22:03:19 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190626123948.10199-1-shmuel.eiderman@oracle.com> <20190701074117.pkmzhon6v7nafq2p@sirius.home.kraxel.org> <424BE97C-7EAF-4B28-B580-AC2B5261197C@oracle.com> To: Gerd Hoffmann , QEMU , qemu-block@nongnu.org X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9321 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907170216 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9321 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907170216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 Subject: Re: [Qemu-devel] [QEMU] [PATCH v5 0/8] Add Qemu to SeaBIOS LCHS interface X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, Arbel Moshe , seabios@seabios.org, Max Reitz , Kevin O'Connor , Liran Alon , Karl Heubaum Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Gentle ping. Sam > On 8 Jul 2019, at 20:30, Sam Eiderman = wrote: >=20 > Thanks Gerd, >=20 > Gentle ping on this. >=20 > Sam >=20 >> On 1 Jul 2019, at 10:41, Gerd Hoffmann wrote: >>=20 >> On Wed, Jun 26, 2019 at 03:39:40PM +0300, Sam Eiderman wrote: >>> v1: >>>=20 >>> Non-standard logical geometries break under QEMU. >>>=20 >>> A virtual disk which contains an operating system which depends on >>> logical geometries (consistent values being reported from BIOS INT13 >>> AH=3D08) will most likely break under QEMU/SeaBIOS if it has = non-standard >>> logical geometries - for example 56 SPT (sectors per track). >>> No matter what QEMU will guess - SeaBIOS, for large enough disks - = will >>> use LBA translation, which will report 63 SPT instead. >>>=20 >>> In addition we can not enforce SeaBIOS to rely on phyiscal = geometries at >>> all. A virtio-blk-pci virtual disk with 255 phyiscal heads can not >>> report more than 16 physical heads when moved to an IDE controller, = the >>> ATA spec allows a maximum of 16 heads - this is an artifact of >>> virtualization. >>>=20 >>> By supplying the logical geometies directly we are able to support = such >>> "exotic" disks. >>>=20 >>> We will use fw_cfg to do just that. >>>=20 >>> v2: >>>=20 >>> Fix missing parenthesis check in >>> "hd-geo-test: Add tests for lchs override" >>>=20 >>> v3: >>>=20 >>> * Rename fw_cfg key to "bios-geometry". >>> * Remove "extendible" interface. >>> * Add cpu_to_le32 fix as Laszlo suggested or big endian hosts >>> * Fix last qtest commit - automatic docker tester for some reason = does not have qemu-img set >>>=20 >>> v4: >>>=20 >>> * Change fw_cfg interface from mixed textual/binary to textual only >>>=20 >>> v5: >>>=20 >>> * Fix line > 80 chars in tests/hd-geo-test.c >>=20 >> Reviewed-by: Gerd Hoffmann >>=20 >> cheers, >> Gerd >>=20 >=20