This fixes virt-xml to return an XML for command: virt-xml --build-xml --boot os_type=hvm The VirtCLIParser.parse() expects the _parse() method to return the parsed object. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- Pushed virtinst/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtinst/cli.py b/virtinst/cli.py index d56fade8..7a406eb4 100644 --- a/virtinst/cli.py +++ b/virtinst/cli.py @@ -1912,7 +1912,7 @@ class ParserBoot(VirtCLIParser): if boot_order: inst.bootorder = boot_order - super()._parse(inst) + return super()._parse(inst) @classmethod def __init_class__(cls, **kwargs): -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list