backends: Fix typename of 'policy' enum property in hostmem obj
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 13 May 2015 16:14:02 +0000 (17:14 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 19 Jun 2015 16:36:56 +0000 (18:36 +0200)
commitb1028b4e8683740cd257a9b77577734664e61511
treedb1103606265dcd269134cacc00bdd7602b30922
parentff5397bc72a1716bb34302dd470343ebee7d6bf2
backends: Fix typename of 'policy' enum property in hostmem obj

The 'policy' property was being registered with a typename of
'str', but it is in fact an enum of the 'HostMemPolicy' type.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
backends/hostmem.c