diff --git a/tests/xmlparse-xml/change-graphics-out.xml b/tests/xmlparse-xml/change-graphics-out.xml
index c2fad2608..5badfd3b2 100644
--- a/tests/xmlparse-xml/change-graphics-out.xml
+++ b/tests/xmlparse-xml/change-graphics-out.xml
@@ -31,7 +31,7 @@
-
+
diff --git a/tests/xmlparse.py b/tests/xmlparse.py
index 20ca9fdde..5032ac98c 100644
--- a/tests/xmlparse.py
+++ b/tests/xmlparse.py
@@ -522,6 +522,7 @@ class XMLParseTest(unittest.TestCase):
check = self._make_checker(dev6)
check("type", "spice")
check("passwd", "foobar", "newpass")
+ check("connected", None, "disconnect")
check("port", 100, 6000)
check("tlsPort", 101, 6001)
check("listen", "0.0.0.0", "1.2.3.4")
diff --git a/virtinst/cli.py b/virtinst/cli.py
index bad1b173c..56666a208 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -1843,6 +1843,7 @@ class ParserGraphics(VirtCLIParser):
self.set_param(None, "keymap", setter_cb=set_keymap_cb)
self.set_param("passwd", "password")
self.set_param("passwdValidTo", "passwordvalidto")
+ self.set_param("connected", "connected")
########################
diff --git a/virtinst/devicegraphics.py b/virtinst/devicegraphics.py
index 63ce090f7..37f268af1 100644
--- a/virtinst/devicegraphics.py
+++ b/virtinst/devicegraphics.py
@@ -203,6 +203,7 @@ class VirtualGraphics(VirtualDevice):
passwd = XMLProperty("./@passwd")
passwdValidTo = XMLProperty("./@passwdValidTo")
socket = XMLProperty("./@socket")
+ connected = XMLProperty("./@connected")
listens = XMLChildProperty(_GraphicsListen)
def remove_listen(self, obj):