From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrOY2-0007ZY-9q for qemu-devel@nongnu.org; Thu, 20 Nov 2014 05:01:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrOXs-0002Os-O5 for qemu-devel@nongnu.org; Thu, 20 Nov 2014 05:01:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrOXs-0002Ny-GS for qemu-devel@nongnu.org; Thu, 20 Nov 2014 05:01:00 -0500 Date: Thu, 20 Nov 2014 10:00:52 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20141120100051.GB5983@work-vm> References: <1416443890-20263-1-git-send-email-dslutz@verizon.com> <20141120005824.GH3243@thinpad.lan.raisama.net> <546D8450.2080900@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546D8450.2080900@redhat.com> Subject: Re: [Qemu-devel] [BUGFIX][PATCH for 2.2 v3 1/1] -machine vmport=auto: Fix handling of VMWare ioport emulation for xen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Eduardo Habkost , "Michael S. Tsirkin" , Michael Tokarev , qemu-devel@nongnu.org, Don Slutz , Anthony Liguori , Stefan Hajnoczi * Paolo Bonzini (pbonzini@redhat.com) wrote: > > > On 20/11/2014 01:58, Eduardo Habkost wrote: > > if (pc_machine->vmport == VMPORT_AUTO) { > > no_vmport = xen_enabled(); > > } else { > > no_vmport = (pc_machine->vmport == VMPORT_ON); > > } > > I'm still not sure why the configuration should differ for "-M pc" > depending on whether xen is enabled. I think this goes back to: commit 1611977c3d8fdbdac6090cbd1f5555cee4aed6d9 Author: Anthony PERARD Date: Tue May 3 17:06:54 2011 +0100 pc, Disable vmport initialisation with Xen. This is because there is not synchronisation of the vcpu register between Xen and QEMU, so vmport can't work properly. This patch introduces no_vmport parameter to pc_basic_device_init. Signed-off-by: Anthony PERARD Signed-off-by: Alexander Graf Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK