From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44473 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PalP0-0000BG-Ks for qemu-devel@nongnu.org; Thu, 06 Jan 2011 03:40:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PalOz-0008VG-Mm for qemu-devel@nongnu.org; Thu, 06 Jan 2011 03:40:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PalOz-0008V2-Fx for qemu-devel@nongnu.org; Thu, 06 Jan 2011 03:40:57 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p068etPJ023386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Jan 2011 03:40:55 -0500 Message-ID: <4D258014.9080309@redhat.com> Date: Thu, 06 Jan 2011 09:40:52 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1291123564-3249-1-git-send-email-kraxel@redhat.com> <1291123564-3249-3-git-send-email-kraxel@redhat.com> <20110105194406.GC28688@redhat.com> In-Reply-To: <20110105194406.GC28688@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 2/3] piix: tag as not hotpluggable. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org >> diff --git a/hw/piix4.c b/hw/piix4.c >> index 5489386..1678898 100644 >> --- a/hw/piix4.c >> +++ b/hw/piix4.c >> @@ -113,6 +113,7 @@ static PCIDeviceInfo piix4_info[] = { >> .qdev.desc = "ISA bridge", >> .qdev.size = sizeof(PCIDevice), >> .qdev.no_user = 1, >> + .qdev.no_hotplug = 1, >> .init = piix4_initfn, >> },{ >> /* end of list */ > > This one breaks the build for me. The below seems to help - but begs > the question: was this tested? Tested on x86. piix4 chipset is used by hw/mips_malta.c, looks like I forgot to do a testbuild with all targets enabled :-( > diff --git a/hw/piix4.c b/hw/piix4.c > index 1678898..00da049 100644 > --- a/hw/piix4.c > +++ b/hw/piix4.c > @@ -113,7 +113,7 @@ static PCIDeviceInfo piix4_info[] = { > .qdev.desc = "ISA bridge", > .qdev.size = sizeof(PCIDevice), > .qdev.no_user = 1, > - .qdev.no_hotplug = 1, > + .no_hotplug = 1, > .init = piix4_initfn, > },{ > /* end of list */ This is correct. Do you just squash in the fix or do you want me respin the patch series? cheers, Gerd