summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-02-18 10:10:33 -0700
committerAlex Williamson <alex.williamson@redhat.com>2013-02-18 10:10:33 -0700
commit2dd1194833de133960f286903ce704cb10fa7eb0 (patch)
treea892a48ff846ed92dd49aa50b53a221b503876be /include/uapi
parent2b489a45f63102205cece37057c21f6fa66f6ce4 (diff)
vfio-pci: Manage user power state transitions
We give the user access to change the power state of the device but certain transitions result in an uninitialized state which the user cannot resolve. To fix this we need to mark the PowerState field of the PMCSR register read-only and effect the requested change on behalf of the user. This has the added benefit that pdev->current_state remains accurate while controlled by the user. The primary example of this bug is a QEMU guest doing a reboot where the device it put into D3 on shutdown and becomes unusable on the next boot because the device did a soft reset on D3->D0 (NoSoftRst-). Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions