From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbCm2-0008Nf-0i for qemu-devel@nongnu.org; Thu, 15 Dec 2011 09:59:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbClw-0007qu-5y for qemu-devel@nongnu.org; Thu, 15 Dec 2011 09:59:05 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:60267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbClw-0007qq-1j for qemu-devel@nongnu.org; Thu, 15 Dec 2011 09:59:00 -0500 Received: by iagj37 with SMTP id j37so3319140iag.4 for ; Thu, 15 Dec 2011 06:58:59 -0800 (PST) Message-ID: <4EEA0B2F.9010402@codemonkey.ws> Date: Thu, 15 Dec 2011 08:58:55 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <20111215145415.GA265695@orkuz.home> In-Reply-To: <20111215145415.GA265695@orkuz.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Modern CPU models cannot be used with libvirt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: libvir-list@redhat.com, qemu-devel@nongnu.org On 12/15/2011 08:54 AM, Jiri Denemark wrote: > Hi, > > Recently I realized that all modern CPU models defined in > /etc/qemu/target-x86_64.conf are useless when qemu is used through libvirt. > That's because we start qemu with -nodefconfig which results in qemu ignoring > that file with CPU model definitions. We have a very good reason for using > -nodefconfig because we need to control the ABI presented to a guest OS and we > don't want any configuration file that can contain lots of things including > device definitions to be read by qemu. However, we would really like the new > CPU models to be understood by qemu even if used through libvirt. What would > be the best way to solve this? Pass '-readconfig /etc/qemu/target-x86_64.conf' to pick up those models and if you are absolutely insistent on not giving the user any ability to change things on their own, cp the file from qemu.git into libvirt.git and install it in a safe place. Regards, Anthony Liguori > > I suspect this could have been already discussed in the past but obviously a > workable solution was either not found or just not implemented. > > Jirka >