qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] hw/pci: fixed hotplug crash when using rombar=0 with devices having romfile
@ 2014-10-27 17:34 Marcel Apfelbaum
  2014-10-27 17:34 ` [Qemu-devel] [PATCH v4 1/2] hw/pci: fixed error flow in pci_qdev_init Marcel Apfelbaum
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Marcel Apfelbaum @ 2014-10-27 17:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst, armbru, alex.williamson, marcel, pbonzini

Hot-plugging a device that has a romfile (either supplied by user
or built-in) using rombar=0 option is a user error,
do not allow the device to be hot-plugged.

v3 -> v4:
 - Fixed a typo in the commit (Eric Blake)

v2 -> v3:
 - Reverse the decision to forbid the hotplug on user error (Michael S. Tsirkin)
 - Split the patch in two, first part being a separate fix (Markus Armbruster)  

v1 -> v2:
 After a discussion with Michael, Paolo and Alex, this
 patch silent drops the romfile instead of not allowing
 the hotplug.

Marcel Apfelbaum (2):
  hw/pci: fixed error flow in pci_qdev_init
  hw/pci: fixed hotplug crash when using rombar=0 with devices having
    romfile

 hw/pci/pci.c | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-11-24 15:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 17:34 [Qemu-devel] [PATCH v4 0/2] hw/pci: fixed hotplug crash when using rombar=0 with devices having romfile Marcel Apfelbaum
2014-10-27 17:34 ` [Qemu-devel] [PATCH v4 1/2] hw/pci: fixed error flow in pci_qdev_init Marcel Apfelbaum
2014-10-30 13:33   ` Markus Armbruster
2014-10-30 17:25     ` Marcel Apfelbaum
2014-10-27 17:34 ` [Qemu-devel] [PATCH v4 2/2] hw/pci: fixed hotplug crash when using rombar=0 with devices having romfile Marcel Apfelbaum
2014-11-03 12:03   ` Markus Armbruster
2014-11-03 12:46     ` Michael S. Tsirkin
2014-11-03 12:52     ` Marcel Apfelbaum
2014-11-03 13:40       ` Markus Armbruster
2014-11-03 13:49         ` Marcel Apfelbaum
2014-11-03 15:54           ` Markus Armbruster
2014-11-03 16:07             ` Marcel Apfelbaum
2014-11-03 16:10             ` Michael S. Tsirkin
2014-11-24 15:22 ` [Qemu-devel] [PATCH v4 0/2] " Marcel Apfelbaum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).