---
virtinst/VirtualHostDevice.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/virtinst/VirtualHostDevice.py b/virtinst/VirtualHostDevice.py
index d0c1544..2175266 100644
--- a/virtinst/VirtualHostDevice.py
+++ b/virtinst/VirtualHostDevice.py
@@ -120,7 +120,7 @@ class VirtualHostDevice(VirtualDevice.VirtualDevice):
return self._managed
def set_managed(self, val):
self._managed = bool(val)
- managed = _xml_property(get_type, set_type,
+ managed = _xml_property(get_managed, set_managed,
get_converter=lambda s, x: bool(x == "yes"),
set_converter=lambda s, x: x and "yes" or
"no",
xpath="./@managed")
--
1.7.6