Revision 98846d73
b/hw/msix.c | ||
---|---|---|
296 | 296 |
{ |
297 | 297 |
unsigned n = dev->msix_entries_nr; |
298 | 298 |
|
299 |
if (!dev->cap_present & QEMU_PCI_CAP_MSIX)
|
|
299 |
if (!(dev->cap_present & QEMU_PCI_CAP_MSIX)) {
|
|
300 | 300 |
return; |
301 |
} |
|
301 | 302 |
|
302 | 303 |
qemu_get_buffer(f, dev->msix_table_page, n * MSIX_ENTRY_SIZE); |
303 | 304 |
qemu_get_buffer(f, dev->msix_table_page + MSIX_PAGE_PENDING, (n + 7) / 8); |
Also available in: Unified diff