Device-assignment: don't use libkvm's private get_slot()
commit9f11f8ab76b499943cea18dc667f84d630c9b153
authorMark McLoughlin <markmc@redhat.com>
Thu, 15 Jan 2009 13:47:30 +0000 (15 13:47 +0000)
committerAvi Kivity <avi@redhat.com>
Thu, 15 Jan 2009 13:56:25 +0000 (15 15:56 +0200)
tree343067744707aab48defbd6628781693dc0b5b57
parent814a1a9dfa68c1ca8bb82f11b650271701da4c51
Device-assignment: don't use libkvm's private get_slot()

get_slot() isn't exported by libkvm, so we shouldn't be using it.

The worst thing that can happen because of this change is that
libkvm will spew a warning. It looks to me like that can't happen
though.

Fixes:

  qemu/hw/device-assignment.c:161: warning: implicit declaration of function ‘get_slot’

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-assignment.c