]> git.proxmox.com Git - mirror_qemu.git/commit
pci: add API to add capability at a known offset
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Apr 2010 13:05:46 +0000 (16:05 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 11 Apr 2010 16:37:28 +0000 (19:37 +0300)
commit1db5a3aad3c689be1255ed850ef8e3515ab461e8
treeceb4251827cbea3c60157205443b8cc1b536574c
parentf62719ca6fcdab99d6fbd7a1d6798e0fad4e0b70
pci: add API to add capability at a known offset

Unlike virtio, device emulations need to add pci capabilities
at known offsets to match real hardware. Make this possible
by adding an appropriate API.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c
hw/pci.h