From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55798)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from
) id 1ZmzoI-0004kl-JI
for qemu-devel@nongnu.org; Fri, 16 Oct 2015 03:52:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1ZmzoE-000849-HG
for qemu-devel@nongnu.org; Fri, 16 Oct 2015 03:52:18 -0400
Received: from mailout2.w1.samsung.com ([210.118.77.12]:12479)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1ZmzoE-00083a-BL
for qemu-devel@nongnu.org; Fri, 16 Oct 2015 03:52:14 -0400
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout2.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NWA00HKUZ6ZUD50@mailout2.w1.samsung.com> for
qemu-devel@nongnu.org; Fri, 16 Oct 2015 08:52:11 +0100 (BST)
From: Pavel Fedin
References: <010601d10747$569ae800$03d0b800$@samsung.com>
<00a501d107dd$7fd8b350$7f8a19f0$@samsung.com>
In-reply-to:
Date: Fri, 16 Oct 2015 10:52:10 +0300
Message-id: <00ce01d107e7$90879720$b196c560$@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] arm_gic_kvm: Disable live migration if not
supported
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: 'Peter Maydell'
Cc: 'QEMU Developers'
Hello!
> But this is the GICv2 code. Unless there are kernels out in the wild
> which support v2 but not migration, there's no need to check
> for that situation here.
Such kernels do exist for sure, otherwise why do we have =
kvm_gic_can_save_restore() at all? I remember even you pointed me at it.
I've just checked LXR, we have vGIC support since 3.11, but =
KVM_DEV_TYPE_ARM_VGIC_V2 was introduced only in 3.14.
P.S. While studying migration code i discovered migrate_add_blocker(), =
i guess i need to use it instead of patching VMState, because checkpatch =
blames me for making it non-const. So, if you ACK the idea itself, i'll =
reimplement it and post v2.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia