qxl: store memory region and offset instead of pointer for guest slots
commit3cb5158f15604a9f50287f2f06777d5835ff4c15
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 22 Jun 2016 12:07:23 +0000 (22 14:07 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 6 Jul 2016 08:31:11 +0000 (6 10:31 +0200)
tree15669715cb9ada3c4beb693f460e35e16036a5aa
parent726bdf653aca9b87e28c9a56dd94c4667ddfacbc
qxl: store memory region and offset instead of pointer for guest slots

Store MemoryRegion and offset instead of a pointer for each qxl memory
slot, so we can easily figure in which memory region an qxl object
stored.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1466597244-5938-2-git-send-email-kraxel@redhat.com
hw/display/qxl.c
hw/display/qxl.h