From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAPFN-0003bd-Ib for qemu-devel@nongnu.org; Mon, 03 Feb 2014 14:32:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAPFI-0008E9-2b for qemu-devel@nongnu.org; Mon, 03 Feb 2014 14:31:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAPFH-0008Dy-Ph for qemu-devel@nongnu.org; Mon, 03 Feb 2014 14:31:52 -0500 Message-ID: <52EFEE9B.7090604@redhat.com> Date: Mon, 03 Feb 2014 12:31:39 -0700 From: Eric Blake MIME-Version: 1.0 References: <1391443030-8662-1-git-send-email-imammedo@redhat.com> <1391443030-8662-4-git-send-email-imammedo@redhat.com> In-Reply-To: <1391443030-8662-4-git-send-email-imammedo@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jkQCv79H0apS2mJnkOdSrIHXdLsQTKdvJ" Subject: Re: [Qemu-devel] [PATCH v5 3/9] qdev: add "hotpluggable" property to Device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, peter.crosthwaite@xilinx.com, stefanha@redhat.com, mst@redhat.com, jan.kiszka@siemens.com, marcel.a@redhat.com, armbru@redhat.com, blauwirbel@gmail.com, alex.williamson@redhat.com, kraxel@redhat.com, aliguori@amazon.com, pbonzini@redhat.com, afaerber@suse.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jkQCv79H0apS2mJnkOdSrIHXdLsQTKdvJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/03/2014 08:57 AM, Igor Mammedov wrote: > Currently it's possible to make PCIDevice not hotpluggable > by using no_hotplug field of PCIDeviceClass. However it > limits this only to PCI devices and prevents from > generalizing hotplug code. >=20 > + > + /* by default all devices were considered as hotpluggable, > + * so with intent to check it in generic qdev_unplug() / > + * device_set_realized() functions make every device > + * hotpluggable. Devices that shouldn't be hoplugable, s/hoplugable/hotpluggable/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --jkQCv79H0apS2mJnkOdSrIHXdLsQTKdvJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJS7+6bAAoJEKeha0olJ0NqETkH/i5K/mnw0WOEAl57tiWaWQ4+ sJT74CvyU/729wTXVBDu70ThT/iIQoInjo7hzV15jkMfGP0vJnWUnIi9uwMw/Rrt +h1pDqRDBJxO9pTGM8RE35Pf1Yl3rueEmhoKY1mcSq5wWZ8M1EM36uKMw/DpuHgt vSZc1lxeQRTtMovt3ahE4tTt96tmzSxBRazSRg+cpMSOGJR7ETt0LVrDWJQueb7G yDYZ0pHZVZGOp3ByQQ7VLWWjgG3foQPddaA5FcDx34IDCwkx70SBzpPVS1EY2bAI hYKJAXqcTOW9tlzvtjo9H5T8xaOgEuoH2KhC3vFq5OVuMCpS9dpTZ/KinH/Zn40= =vacu -----END PGP SIGNATURE----- --jkQCv79H0apS2mJnkOdSrIHXdLsQTKdvJ--