From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: Stupid Xen vs KVM question Date: Fri, 05 Dec 2014 08:29:54 +0100 Message-ID: <54815EF2.4030808@redhat.com> References: <20141205022420.GA27661@konrad-lan.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: kvm list , Rusty Russell To: Konrad Rzeszutek Wilk , Andy Lutomirski Return-path: Received: from mail-wi0-f180.google.com ([209.85.212.180]:37123 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752451AbaLEHaC (ORCPT ); Fri, 5 Dec 2014 02:30:02 -0500 Received: by mail-wi0-f180.google.com with SMTP id n3so463482wiv.1 for ; Thu, 04 Dec 2014 23:30:01 -0800 (PST) In-Reply-To: <20141205022420.GA27661@konrad-lan.dumpdata.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/12/2014 03:24, Konrad Rzeszutek Wilk wrote: > We could do a simple thing - which is that the paravirt_enabled > could have the value 1 for Xen and 2 for KVM. The assembler logic > would be inverted and just check for 1. I am not going to attempt > to write the assembler code :-) Wouldn't Xen HVM also want to be 2? Paolo