]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Use ULL instead of uint64_t for RDMA GID event
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 9 Jan 2019 10:27:15 +0000 (11:27 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 9 Jan 2019 10:31:58 +0000 (11:31 +0100)
commitf886271410cf8b64ce92d0f727efe1b9a922c8c7
tree5186d459b05588101d3a58c36f4752318b3afa93
parented357cef18b21c26f15e342b712a7de3f28f9471
qemu: Use ULL instead of uint64_t for RDMA GID event

In the previous commit we are using uint64_t for storing subnet
prefix and interface id that qemu reports in
RDMA_GID_STATUS_CHANGED event. We also report them in some debug
messages. This poses a problem because uint64_t can be UL or ULL
depending on the host architecture and hence we wouldn't know
which format to use. Switch to ULL which is big enough and
doesn't suffer from the issue.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_process.c