From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeGUa-0007MQ-KZ for qemu-devel@nongnu.org; Sun, 19 May 2013 23:10:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeGUU-0004ZR-GU for qemu-devel@nongnu.org; Sun, 19 May 2013 23:10:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeGUU-0004Z9-8a for qemu-devel@nongnu.org; Sun, 19 May 2013 23:10:26 -0400 Message-ID: <1369019422.5520.269.camel@ul30vt.home> From: Alex Williamson Date: Sun, 19 May 2013 21:10:22 -0600 In-Reply-To: <51960528.8010903@redhat.com> References: <20130516204619.GA1623@parallels.com> <51960528.8010903@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] VFIO-VGA Issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel , Maik Broemme On Fri, 2013-05-17 at 12:23 +0200, Paolo Bonzini wrote: > Il 16/05/2013 22:46, Maik Broemme ha scritto: > > > > Regarding 2) it results in 100 messages like the following on the console > > which runs qemu: > > > > qemu-system-x86_64: vfio_vga_read(,0x3c3, 1) failed: Interrupted system call > > qemu-system-x86_64: vfio_vga_read(,0x3c3, 1) failed: Interrupted system call > > qemu-system-x86_64: vfio_vga_read(,0x3c3, 1) failed: Interrupted system call > > This is because VFIO is not looping around pread errors (or short > reads). The masking of signals is slightly different between TCG and > KVM, and VFIO code runs with signals unmasked when KVM is disabled. I didn't know that, I'll add some retries. Thanks, Alex