hw/pci-bridge: expose _test parameter in SHPC_VMSTATE()
commit0034e56209c1333bfca53356ce82663d801a15c5
authorLaszlo Ersek <lersek@redhat.com>
Fri, 19 Jun 2015 02:40:09 +0000 (19 04:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Jun 2015 20:57:47 +0000 (23 22:57 +0200)
tree646e03c170a44d33b6715f65e9ae1cc5a101931c
parent9df0b0e09c48ad543e6d12ee0c17d1857f83d3ca
hw/pci-bridge: expose _test parameter in SHPC_VMSTATE()

Change the signature of the function-like macro SHPC_VMSTATE(), so that we
can produce and expect this field conditionally in the migration stream,
starting with an upcoming patch.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/pci_bridge_dev.c
include/hw/pci/shpc.h