commit | db80c7b974f4ccab56bd5e8ff2248c7339b00c73 | [log] [tgz] |
---|---|---|
author | Marcel Apfelbaum <marcel.a@redhat.com> | Mon Oct 27 19:34:42 2014 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sun Nov 02 13:44:12 2014 +0200 |
tree | f2f4b34fa63b51c032cc7dd2547f3173c2b2059c | |
parent | 178e785fb4507ec3462dc772bbe08303416ece47 [diff] |
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 <eblake@redhat.com> Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>