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=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 A142FC33CB1 for ; Mon, 20 Jan 2020 09:33:55 +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 7A3F02073A for ; Mon, 20 Jan 2020 09:33:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A3F02073A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kamp.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:60784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itTRS-0005Ih-8p for qemu-devel@archiver.kernel.org; Mon, 20 Jan 2020 04:33:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itTQk-0004rh-0q for qemu-devel@nongnu.org; Mon, 20 Jan 2020 04:33:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itTQg-000445-2j for qemu-devel@nongnu.org; Mon, 20 Jan 2020 04:33:09 -0500 Received: from kerio.kamp.de ([195.62.97.192]:40192) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itTQf-00042H-Ph for qemu-devel@nongnu.org; Mon, 20 Jan 2020 04:33:06 -0500 X-Footer: a2FtcC5kZQ== Received: from [172.21.12.60] ([172.21.12.60]) (authenticated user pl@kamp.de) by kerio.kamp.de with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Mon, 20 Jan 2020 10:32:55 +0100 Subject: Re: qemu-4.0.1: vhost_region_add_section:Section rounded to 0 prior to previous a0000 To: "Dr. David Alan Gilbert" References: <985fea06-ede6-dcb7-8829-a48a9416bc09@kamp.de> <20200108150458.GC3184@work-vm> <20200109184440.GR6795@work-vm> <11bd7f7a-9022-6c35-3b92-27d6e66f3295@kamp.de> <20200116202605.GN3108@work-vm> <20200117155909.GM3209@work-vm> From: Peter Lieven Message-ID: <70f7fc38-61f8-e018-5730-d4d0cb3db639@kamp.de> Date: Mon, 20 Jan 2020 10:32:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200117155909.GM3209@work-vm> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.62.97.192 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: "qemu-devel@nongnu.org" Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Am 17.01.20 um 16:59 schrieb Dr. David Alan Gilbert: > * Peter Lieven (pl@kamp.de) wrote: >> Am 16.01.20 um 21:26 schrieb Dr. David Alan Gilbert: >>> * Peter Lieven (pl@kamp.de) wrote: >>>> Am 16.01.20 um 13:47 schrieb Peter Lieven: >>>>> Am 13.01.20 um 17:25 schrieb Peter Lieven: >>>>>> Am 09.01.20 um 19:44 schrieb Dr. David Alan Gilbert: >>>>>>> * Peter Lieven (pl@kamp.de) wrote: >>>>>>>> Am 08.01.20 um 16:04 schrieb Dr. David Alan Gilbert: >>>>>>>>> * Peter Lieven (pl@kamp.de) wrote: >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I have a Qemu 4.0.1 machine with vhost-net network adapter, thats polluting the log with the above message. >>>>>>>>>> >>>>>>>>>> Is this something known? Googling revealed the following patch in Nemu (with seems to be a Qemu fork from Intel): >>>>>>>>>> >>>>>>>>>> https://github.com/intel/nemu/commit/03940ded7f5370ce7492c619dccced114ef7f56e >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> The network stopped functioning. After a live-migration the vServer is reachable again. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Any ideas? >>>>>>>>> What guest are you running and what does your qemu commandline look >>>>>>>>> like? >>>>>>>> Its running debian9. We have hundreds of other VMs with identical setup. Do not know why this one makes trouble. >>>>>>> Could you extract an 'info mtree' from it - particularly the >>>>>>> 'address-space: memory' near the top. >>>>>> Here we go: >>>>>> >>>>>> >>>>>> address-space: memory >>>>>>   0000000000000000-ffffffffffffffff (prio 0, i/o): system >>>>>>     0000000000000000-000000003fffffff (prio 0, i/o): alias ram-below-4g @pc.ram 0000000000000000-000000003fffffff >>>>>>     0000000000000000-ffffffffffffffff (prio -1, i/o): pci >>>>>>       00000000000a0000-00000000000affff (prio 2, i/o): alias vga.chain4 @vga.vram 0000000000000000-000000000000ffff >>>>>>       00000000000a0000-00000000000bffff (prio 1, i/o): vga-lowmem >>>>> What seems special is that the RAM area is prio2. Any idea if this makes trouble? >>>> Update from my side. This happens when I have Debian 10 with XFCE when the Graphical User Interface is initialized. >>>> >>>> I see the log message when I specify -M pc-i440fx-2.9. If I obmit the machine type the error does not appear. >>> I can't persuade this to reproduce here on the images I currently have; >>> but if you can rebuild, can you try the v3 of 'Fix hyperv synic on >>> vhost' I've just posted? It turns off the alignment code that's >>> spitting that error in vhost-kernel cases, so should go away. >> Your patch also seems to fix also my issue. No more errors and the network keeps responding. > Great, can you reply to that post with a Tested-by ? I was not sure if I should reply since the patch is for a total different issue. Anyway, please feel free to add a Tested-by: Peter Lieven I am currently not subscribed to qemu-devel so I can't reply directly. Best, Peter