]> Git Repo - qemu.git/commit - hw/pci/pci.c
hw/pci: fixed hotplug crash when using rombar=0 with devices having romfile
authorMarcel Apfelbaum <[email protected]>
Mon, 27 Oct 2014 17:34:42 +0000 (19:34 +0200)
committerMichael S. Tsirkin <[email protected]>
Sun, 2 Nov 2014 11:44:12 +0000 (13:44 +0200)
commitdb80c7b974f4ccab56bd5e8ff2248c7339b00c73
treef2f4b34fa63b51c032cc7dd2547f3173c2b2059c
parent178e785fb4507ec3462dc772bbe08303416ece47
hw/pci: fixed hotplug crash when using rombar=0 with devices having romfile

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.

Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Marcel Apfelbaum <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/pci/pci.c
This page took 0.023504 seconds and 4 git commands to generate.