From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: KVM usability Date: Thu, 04 Mar 2010 14:34:02 -0600 Message-ID: <4B90193A.3080303@codemonkey.ws> References: <1267068445.1726.25.camel@localhost> <1267089644.12790.74.camel@laptop> <1267152599.1726.76.camel@localhost> <20100226090147.GH15885@elte.hu> <4B879A2F.50203@redhat.com> <20100226103545.GA7463@elte.hu> <4B87A6BF.3090301@redhat.com> <20100226111734.GE7463@elte.hu> <4B8813F2.8090208@redhat.com> <20100227105643.GA17425@elte.hu> <4B8BD9BA.6020601@codemonkey.ws> <1267524666.25158.38.camel@laptop> <1267732824.5322.57.camel@localhost.localdomain> <4B901460.9090709@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Lucas Meneghel Rodrigues , Peter Zijlstra , Ingo Molnar , Avi Kivity , "Zhang, Yanmin" , ming.m.lin@intel.com, sheng.yang@intel.com, Jes Sorensen , KVM General , Gleb Natapov , Arnaldo Carvalho de Melo , Fr??d??ric Weisbecker , Thomas Gleixner , "H. Peter Anvin" , Arjan van de Ven , Cole Robinson To: Zachary Amsden Return-path: Received: from qw-out-2122.google.com ([74.125.92.25]:38904 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756009Ab0CDUeR (ORCPT ); Thu, 4 Mar 2010 15:34:17 -0500 Received: by qw-out-2122.google.com with SMTP id 5so274443qwd.37 for ; Thu, 04 Mar 2010 12:34:17 -0800 (PST) In-Reply-To: <4B901460.9090709@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 03/04/2010 02:13 PM, Zachary Amsden wrote: > > The biggest problem with virt-manager isn't virt-manager, it's that it > is trying to do a nearly intractable task. Because a qemu virtual > machine is not a machine at all, just a disk image without the proper > metadata to track the important properties of the machine, like what > revision of PCI chipset, how many disk controllers the thing is using, > what kind of graphics card, etc. > > These are all basic things that are left completely undefined by > qemu's lack of a top-level configuration file, and it's an inexcusable > disgrace. > > So virt-manager or any other management tool has the burden of > creating and maintaining a bunch of metadata around this workhorse > tool called qemu and invoking libvirt to figure out which set of > 100,000 blasted command line options to pass on. > > That's why it falls short of expectations at times, not because > virt-manager is crap, but because there is no well defined, well > designed infrastructure for it to manage and the ad-hoc solution here > is total crap. And this is why we're doing QMP and qdev. It's long overdue infrastructure. It's not just the problem that you describe though. virt-manager is limited by what libvirt provides and today libvirt does not expose nearly enough qemu features for virt-manager to even attempt to solve the problem on it's own. Regards, Anthony Liguori > Zach