Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755813AbZLWU1I (ORCPT ); Wed, 23 Dec 2009 15:27:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753261AbZLWU1G (ORCPT ); Wed, 23 Dec 2009 15:27:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:21514 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751979AbZLWU1A (ORCPT ); Wed, 23 Dec 2009 15:27:00 -0500 Message-ID: <4B327CE5.7050705@redhat.com> Date: Wed, 23 Dec 2009 22:26:13 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: Andi Kleen CC: Ingo Molnar , Anthony Liguori , Bartlomiej Zolnierkiewicz , Gregory Haskins , kvm@vger.kernel.org, Andrew Morton , torvalds@linux-foundation.org, "linux-kernel@vger.kernel.org" , netdev@vger.kernel.org, "alacrityvm-devel@lists.sourceforge.net" Subject: Re: [GIT PULL] AlacrityVM guest drivers for 2.6.33 References: <4B1D4F29.8020309@gmail.com> <87637zdy9g.fsf@basil.nowhere.org> <4B30E654.40702@codemonkey.ws> <200912221701.56840.bzolnier@gmail.com> <4B30F214.80206@codemonkey.ws> <20091223065129.GA19600@elte.hu> <20091223101340.GC20539@basil.fritz.box> <20091223185150.GA9587@elte.hu> <877hsdcwza.fsf@basil.nowhere.org> In-Reply-To: <877hsdcwza.fsf@basil.nowhere.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2311 Lines: 60 On 12/23/2009 09:27 PM, Andi Kleen wrote: > Ingo Molnar writes: > > >> Yes, there's (obviously) compatibility requirements and artifacts and past >> mistakes (as with any software interface), but you need to admit it to >> > Yes that's exactly what I meant. > And we do make plenty of mistakes. And when we fix them, we have to maintain bug-compatibility to allow live migration from the broken version to the good version. If you're ever feeling overly happy, do some compat work in qemu and it will suck a year's worth or two of your life force a pop. >> yourself that your "virtualization is sloppy just like hardware" claim is just >> > In my experience hardware is a lot less sloppy than software. > Imagine your latest CPU had as many regressions as 2.6.32 @) > > I wish software and even VMs were as good. > > Me too. >> a cheap excuse to not do a proper job of interface engineering. >> > Past mistakes cannot be easily fixed. And undoubtedly even the new > shiny interfaces will have bugs and problems. Also the behaviour is > often not completely understood. Maybe it can be easier debugged with > fully available source, but even then it's hard to fix the old > software (or rather even if you can fix it deploy the fixes). In > that regard it's a lot like hardware. > > I agree with you that this makes it important to design good > interfaces, but again realistically mistakes will be made > and they cannot be all fixed retroactively. > Our principal tool for this is to avoid introducing new interfaces whenever possible. We try to stick to established hardware standards (so we don't need to sloppily define them, and get guest compatibility for free). Hardware (both virt and non-virt) faces the same problems as software here. So as hardware solutions are introduced, we adopt them, and usually the virt extensions vendors follow with accelerations for these paths as well. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/