]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Use virXPath wrappers for vncdisplay cmd
authorDoug Goldstein <cardoe@cardoe.com>
Sun, 24 Jun 2012 21:36:00 +0000 (16:36 -0500)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jun 2012 09:25:50 +0000 (11:25 +0200)
commitdcbfd57214d841bce6df6d81bef384261ca5febb
tree30f8bb1d21a1a340096801df1b4cf61ba371a1d7
parentacbd4965c44c4dbc676dfe89aff970052e376073
virsh: Use virXPath wrappers for vncdisplay cmd

Update the vncdisplay command to use the virXPath wrappers as well as
check if the domain is up rather than using the port set to -1 to mean
the domain is not up.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
tools/virsh.c