From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goVCQ-00033o-8u for qemu-devel@nongnu.org; Tue, 29 Jan 2019 10:21:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goVC7-0003Q3-RI for qemu-devel@nongnu.org; Tue, 29 Jan 2019 10:21:05 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goVC7-0002ka-A8 for qemu-devel@nongnu.org; Tue, 29 Jan 2019 10:20:59 -0500 Received: by mail-wr1-f65.google.com with SMTP id s12so22494859wrt.4 for ; Tue, 29 Jan 2019 07:20:53 -0800 (PST) From: Vitaly Kuznetsov In-Reply-To: <20190128182229.GF2585@work-vm> References: <20190125114155.32062-1-vkuznets@redhat.com> <20190125114155.32062-5-vkuznets@redhat.com> <20190125124738.GB30730@rkaganb.sw.ru> <87bm44onnh.fsf@vitty.brq.redhat.com> <20190128113017.GA2435@rkaganb.sw.ru> <87lg34zy37.fsf@vitty.brq.redhat.com> <20190128182229.GF2585@work-vm> Date: Tue, 29 Jan 2019 16:20:33 +0100 Message-ID: <877eenze0u.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC 4/8] i386/kvm: Implement 'hv-all' pass-through mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: Roman Kagan , "qemu-devel@nongnu.org" , Paolo Bonzini , Richard Henderson , Eduardo Habkost , Marcelo Tosatti "Dr. David Alan Gilbert" writes: > I'm not sure what the equivalent bear traps are in the Hyper-V world, > but I'd be surprised if there weren't any; for example what happens > when someone upgrades one of their hosts to some minor version that > adds/removes a feature? Here we're talking about Hyper-V emulation in KVM, features only get added there, but even if it gets removed it will be detected by libvirt ... > > Also, how does libvirt figure out that the features are actually the > same - does it need a bunch of detection code? ... as I *think* it compares Feature CPUID words (and all Hyper-V features which we enable with hv-all are there). -- Vitaly