From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56866)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1ZKPLr-000630-I6
for qemu-devel@nongnu.org; Wed, 29 Jul 2015 07:16:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1ZKPLm-000312-FW
for qemu-devel@nongnu.org; Wed, 29 Jul 2015 07:16:47 -0400
Received: from mailout1.w1.samsung.com ([210.118.77.11]:24558)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ZKPLm-0002yI-AF
for qemu-devel@nongnu.org; Wed, 29 Jul 2015 07:16:42 -0400
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout1.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NS8002W4XZQI730@mailout1.w1.samsung.com> for
qemu-devel@nongnu.org; Wed, 29 Jul 2015 12:16:38 +0100 (BST)
From: Pavel Fedin
References: <015a01d0c85c$b52b61d0$1f822570$@samsung.com>
<20150727152658.3f3740f7@nial.brq.redhat.com>
<00da01d0c9dc$b39503e0$1abf0ba0$@samsung.com>
<00f401d0c9e3$517efba0$f47cf2e0$@samsung.com>
In-reply-to:
Date: Wed, 29 Jul 2015 14:16:36 +0300
Message-id: <015b01d0c9f0$0981cd20$1c856760$@samsung.com>
MIME-version: 1.0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: quoted-printable
Content-language: ru
Subject: Re: [Qemu-devel] [PATCH v3] hw/arm/virt: Add high MMIO PCI region
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: 'Peter Maydell'
Cc: 'QEMU Developers' , 'Igor Mammedov' , 'Paolo Bonzini' , 'Alexander Graf' , "'Michael S. Tsirkin'"
Hello!
> It matters because you can run 32 bit guests in 64-bit-capable
> CPUs.
Yes, i know.
> I don't really want to have two different address layouts
> just to work around a kernel bug
They will not be really different. Just for 32-bit machines there will =
be no second MMIO window, and for 64-bit ones there will be. Nothing =
else will be different.
> if we could fix the kernel bug instead...
We could. But what about existing installations? They will be forced to =
upgrade kernels, we will not have backwards compatibility option. And =
users will complain that "my old VM stopped working with new qemu".
Well, this discussion seems to be stuck, so let's move on. What is your =
final word? Options are:
1. Include second region unconditionally. Old 32-bit guests will stop =
working.
2. Add machine option to specify second region size. For 64-bits it will =
default to something, for 32-bits it will default to 0 (=3D off). It =
will be possible to turn on the region for 32-bit machines explicitly.
3. Include second region only on 64-bit guests. 32-bit ones will wait =
until somebody needs it.
Your choice ?
P.S. My 3.19 guest has LPAE disabled in the configuration. Perhaps my =
fault, but still it's a potential problem.
=20
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia