From: Eduardo Habkost Subject: Re: [PATCH] machine: Add kvm-type property Date: Fri, 30 May 2014 17:57:11 -0300 Message-ID: <20140530205711.GD17594@otherpad.lan.raisama.net> References: <1401482467-31550-1-git-send-email-ehabkost@redhat.com> <5388EE40.5020705@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: qemu-devel@nongnu.org, Andreas =?iso-8859-1?Q?F=E4rber?= , kvm@vger.kernel.org, "Aneesh Kumar K.V" , Alexander Graf , Marcel Apfelbaum To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:13231 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164AbaE3U5S (ORCPT ); Fri, 30 May 2014 16:57:18 -0400 Content-Disposition: inline In-Reply-To: <5388EE40.5020705@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, May 30, 2014 at 10:46:56PM +0200, Paolo Bonzini wrote: > Il 30/05/2014 22:41, Eduardo Habkost ha scritto: > >diff --git a/include/hw/boards.h b/include/hw/boards.h > >index 2d2e2be..44956d6 100644 > >--- a/include/hw/boards.h > >+++ b/include/hw/boards.h > >@@ -111,6 +111,7 @@ struct MachineState { > > bool mem_merge; > > bool usb; > > char *firmware; > >+ char *kvm_type; > > > > ram_addr_t ram_size; > > const char *boot_order; > > > > Can you add it only to the pseries machine instead? This is one of > the first reasons why I wanted to have per-machine properties. :) Yes, it makes sense (I didn't notice we already had explicit class registration code for sPAPR). I might need some help to test it, though. -- Eduardo