hw/virtio: fix Power Management Control Register for PCI Express virtio devices
commit27ce0f3afc9dd25d21b43bbce505157afd93d111
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 20 Feb 2017 20:43:13 +0000 (20 22:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 15 Mar 2017 23:46:41 +0000 (16 01:46 +0200)
tree765cac6b398ed0b05851097e4c958a6a03362a38
parentd584f1b9ca7452ed8d6cd80f7fccd79d667ae49b
hw/virtio: fix Power Management Control Register for PCI Express virtio devices

Make Power Management State flag writable to conform
with the PCI Express spec.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h
include/hw/compat.h
include/hw/pci/pcie.h