qtest/ahci: remove guest_malloc global
commitc12e8293b8ed29d98f9ef563e997c9de8ff10e23
authorJohn Snow <jsnow@redhat.com>
Mon, 19 Jan 2015 20:15:59 +0000 (19 15:15 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 14:40:55 +0000 (16 14:40 +0000)
treeba06f9476166f18cf86f63e49fc9eecc789bc890
parent7f410456652463db7312bc839d45396bf48a849e
qtest/ahci: remove guest_malloc global

Make helper routines rely on the earmarked
guest allocator object with AHCIQState/QOSSTate instead.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421698563-6977-12-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ahci-test.c