diff options
author | Julia Suvorova <jusual@redhat.com> | 2020-04-27 20:24:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-05-04 10:25:02 -0400 |
commit | 0501e1aa1d32a6e02dd06a79bba97fbe9d557cb5 (patch) | |
tree | 74665c7a9928eac0ea0e9e971e65b8c7f33225c8 /target/microblaze/mmu.h | |
parent | 9af638cc1f665712522608c5d6b8c03d8fa67666 (diff) |
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/microblaze/mmu.h')
0 files changed, 0 insertions, 0 deletions