qemu: Validate spapr-vio addresses
commit89afb9f594877d9cc105d729143a7b05528570da
authorAndrea Bolognani <abologna@redhat.com>
Fri, 14 Jun 2019 10:50:22 +0000 (14 12:50 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 20 Jun 2019 10:49:59 +0000 (20 12:49 +0200)
tree6eb36f8769744789fb95c4e67c11caa7b1782818
parentad9b36efcdca66597a9eab79322653650b77b5a1
qemu: Validate spapr-vio addresses

According to sPAPR, addresses are 32-bit rather than 64-bit.
Update qemuDomainDeviceDefValidateAddress() accordingly.

https://bugzilla.redhat.com/show_bug.cgi?id=1598657

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c