diff options
| author | Julia Suvorova | 2020-04-27 20:24:39 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2020-05-04 16:25:02 +0200 |
| commit | 0501e1aa1d32a6e02dd06a79bba97fbe9d557cb5 (patch) | |
| tree | 74665c7a9928eac0ea0e9e971e65b8c7f33225c8 /target | |
| parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200504'... (diff) | |
| download | qemu-0501e1aa1d32a6e02dd06a79bba97fbe9d557cb5.tar.gz qemu-0501e1aa1d32a6e02dd06a79bba97fbe9d557cb5.tar.xz qemu-0501e1aa1d32a6e02dd06a79bba97fbe9d557cb5.zip | |
hw/pci/pcie: Forbid hot-plug if it's disabled on the slot
Raise an error when trying to hot-plug/unplug a device through QMP to a device
with disabled hot-plug capability. This makes the device behaviour more
consistent and provides an explanation of the failure in the case of
asynchronous unplug.
Signed-off-by: Julia Suvorova <jusual@redhat.com>
Message-Id: <20200427182440.92433-2-jusual@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions
