]> git.proxmox.com Git - mirror_qemu.git/commit
hw/virtio: fix Link Control Register for PCI Express virtio devices
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 20 Feb 2017 20:43:12 +0000 (22:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 15 Mar 2017 23:46:41 +0000 (01:46 +0200)
commitd584f1b9ca7452ed8d6cd80f7fccd79d667ae49b
tree7bff296599edb06fae38918ee3bfaac35ed51b10
parentc2cabb34220d63f93e4a0162a26535cbd1f30243
hw/virtio: fix Link Control Register for PCI Express virtio devices

Make several Link Control Register flags 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/pci/pcie.c
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h
include/hw/compat.h
include/hw/pci/pcie.h