Skip to content
Browse files

Fix libvirt domain XML generation for tap driver

When tap:aio was selected, an empty element was used without being
closed, generating the following error:

UnexpectedError: Problem creating the VM: at line 20: Opening and ending tag mismatch: driver line 17 and disk
  • Loading branch information...
1 parent 382b34c commit 3c64b2b946d1766db694257da14cde74c01b6a58 @priteau priteau committed with timf Jun 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 control/src/python/workspacecontrol/defaults/lvrt/
2 control/src/python/workspacecontrol/defaults/lvrt/
@@ -165,7 +165,7 @@ def toXML(self):
if self.driver:
# file is ignored at the moment
if self.driver == "tap:aio":
- x.write(L(3, "<driver name='tap' type='aio'>"))
+ x.write(L(3, "<driver name='tap' type='aio' />"))
x.write(L(3, "<source file='%s' />" % self.source))
x.write(L(3, "<target dev='%s' />" %

0 comments on commit 3c64b2b

Please sign in to comment.
Something went wrong with that request. Please try again.