diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-10-22 12:35:00 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-10-29 17:59:06 +0200 |
commit | e26631b74663f59b5873a84ed5b92ee4ddf48255 (patch) | |
tree | 138a67a5726ff83a10517e14d7fd8f186c632037 /hw/unin_pci.c | |
parent | dc59944bc9a5ad784572eea57610de60e4a2f4e5 (diff) |
pci: make each capability DWORD aligned
PCI spec (see e.g. 6.7 Capabilities List in spec rev 3.0)
requires that each capability is DWORD aligned.
Ensure this when allocating space by rounding size up to 4.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/unin_pci.c')
0 files changed, 0 insertions, 0 deletions