From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiQRJ-0000qu-Un for qemu-devel@nongnu.org; Thu, 08 May 2014 11:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiQRB-0004Se-HK for qemu-devel@nongnu.org; Thu, 08 May 2014 11:40:53 -0400 Received: from mail1.windriver.com ([147.11.146.13]:55950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiQRB-0004SU-8n for qemu-devel@nongnu.org; Thu, 08 May 2014 11:40:45 -0400 Message-ID: <536BA579.10604@windriver.com> Date: Thu, 8 May 2014 09:40:41 -0600 From: Chris Friesen MIME-Version: 1.0 References: <53693FA4.3000306@windriver.com> <5369D504.2070101@redhat.com> <536AB2EE.6010504@windriver.com> <20140508130231.GA24978@grmbl.mre> <536B8332.9070705@redhat.com> <20140508133052.GA25602@grmbl.mre> <536B884D.6080504@redhat.com> <20140508134738.GB25602@grmbl.mre> In-Reply-To: <20140508134738.GB25602@grmbl.mre> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] virtio-serial-pci very expensive during live migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah , Paolo Bonzini Cc: qemu-devel@nongnu.org, armbru@redhat.com On 05/08/2014 07:47 AM, Amit Shah wrote: > Chris, I just tried a simple test this way: > > ./x86_64-softmmu/qemu-system-x86_64 -device virtio-serial-pci -device v= irtserialport -S -monitor stdio -nographic > > and it didn't crash for me. This was with qemu.git. Perhaps you can > try in a similar way. I just tried it with the "stable-1.4" branch from upstream with my first=20 patch added on. Incidentally, to compile on Fedora 19 I had to delete=20 "include/libfdt_env.h" in the qemu package since it was overriding the=20 version from libfdt in the host, causing errors like: /usr/include/fdt.h:58:2: error: unknown type name =91fdt32_t=92 fdt32_t magic; /* magic word FDT_MAGIC */ Anyway, it seems to boot up okay, which is better than what I was=20 getting before. I ran it as: qemu-system-x86_64 -machine accel=3Dkvm -m 1000 guest.img -device=20 virtio-serial -chardev socket,path=3D/tmp/foo,server,nowait,id=3Dfoo -dev= ice=20 virtserialport,chardev=3Dfoo,name=3Dmyfoo My earlier version was using a yocto-modified version of qemu, further=20 modified locally. There's probably a bug in there somewhere. Chris