From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1vuL-0001zR-Ak for qemu-devel@nongnu.org; Wed, 24 Jul 2013 06:02:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1vuJ-0003Oo-2A for qemu-devel@nongnu.org; Wed, 24 Jul 2013 06:02:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1vuI-0003OU-R5 for qemu-devel@nongnu.org; Wed, 24 Jul 2013 06:02:54 -0400 Date: Wed, 24 Jul 2013 12:02:46 +0200 From: Igor Mammedov Message-ID: <20130724120246.3181d5b4@nial.usersys.redhat.com> In-Reply-To: <20130724095249.GA26559@localhost.localdomain> References: <1374596592-7027-1-git-send-email-imammedo@redhat.com> <20130724095249.GA26559@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 00/16 RFC v6] ACPI memory hotplug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: vasilis.liaskovitis@profitbricks.com, pbonzini@redhat.com, qemu-devel@nongnu.org On Wed, 24 Jul 2013 17:52:50 +0800 Hu Tao wrote: > v6 doesn't work here, things are going fine until online hotplugged > memory in guest. > > steps: > > 1. qemu cmd: > > ./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 512,maxmem=2G,slots=1 \ > -hda /mnt/data/libvirt-images/hut-rhel6.3.img -L ../pc-bios-memhp/ > > (bios is from MST's acpi tree) > > 2. hot-plug a dimm: > > device_adddimm,id=d0,size=1G > > 3. online hotplugged memory(in guest): > > echo 'onlone' > /sys/devices/system/memory/memory/32/state > > then after several seconds the console prints error messages like: > > nommu_map_sg: overflow 107c15000+4096 of device mask ffffffff > ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 > ata1.00: cmd ca/00:10:d0:0d:a4/00:00:00:00:00/e0 tag 0 dma 8192 out > res 50/00:00:08:09:e0/00:00:00:00:00/e0 Emask 0x40 (internal error) > ata1.00: configured for MWDMA2 > ata1: EH complete > > (repeat) > > and can't do any disk I/O. Looks like a guest bug where it tries to use high memory but assumes low one. if you boot guest with initial memory 4Gb then it wont hit issue or use FC18 which doesn't have this problem. >