Commit 1a6440ae authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: x86 emulator: use correct type for memory address in operands



Currently we use a void pointer for memory addresses.  That's wrong since
these are guest virtual addresses which are not directly dereferencable by
the host.

Use the correct type, unsigned long.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 09ee57cd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment