From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrUuI-0001nE-Bq for qemu-devel@nongnu.org; Thu, 20 Nov 2014 11:48:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrUuC-0002NL-Id for qemu-devel@nongnu.org; Thu, 20 Nov 2014 11:48:34 -0500 Received: from fldsmtpe04.verizon.com ([140.108.26.143]:55413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrUuC-0002NB-DS for qemu-devel@nongnu.org; Thu, 20 Nov 2014 11:48:28 -0500 From: Don Slutz Message-ID: <546E1B59.8050103@terremark.com> Date: Thu, 20 Nov 2014 11:48:25 -0500 MIME-Version: 1.0 References: <1416443890-20263-1-git-send-email-dslutz@verizon.com> <20141120005824.GH3243@thinpad.lan.raisama.net> <546D8450.2080900@redhat.com> <20141120100051.GB5983@work-vm> <546DC9C3.4080403@redhat.com> In-Reply-To: <546DC9C3.4080403@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 , "Dr. David Alan Gilbert" Cc: Eduardo Habkost , "Michael S. Tsirkin" , Michael Tokarev , qemu-devel@nongnu.org, Don Slutz , Anthony Liguori , Stefan Hajnoczi On 11/20/14 06:00, Paolo Bonzini wrote: > > On 20/11/2014 11:00, Dr. David Alan Gilbert wrote: >>>> 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 > Yes, but Xen has since implemented vmport (commit 37f9e258). It's fine > to have a conservative default for "-M xenfv" and possibly "-M pc-2.1", > but "-M pc" can require the latest hypervisor. The QEMU part of xen using vmport was done. The code in xen will not be part of xen 4.5 (expected to be released next month), it is currently scheduled for 4.6 (some time next year) and is planning to use "vmport=on" when it is enabled in xen. You are right that "-M pc" can require a newer (yet to exist) hypervisor, but I feel it will cause less confusion and allow QEMU 2.2 to be used unchanged with older xen versions; if the default is kept unchanged. -Don Slutz > Paolo