kvm: selftests: avoid type punning
Avoid warnings from -Wstrict-aliasing by using memcpy. Reviewed-by:Thomas Huth <thuth@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Avoid warnings from -Wstrict-aliasing by using memcpy. Reviewed-by:Thomas Huth <thuth@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>