Add virt-inspector --xpath to run XPath queries directly.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Nov 2011 13:06:25 +0000 (13:06 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Nov 2011 22:06:46 +0000 (22:06 +0000)
commit73364364b62090d8f820f91688fa940e508641fe
tree7513b4ee65172424d11c3b7f9b7ddd13b252f5db
parenta0a575767e23de1e2cf357e7c8743ebcba57bd68
Add virt-inspector --xpath to run XPath queries directly.

xmlstarlet is good, but not available in Red Hat Enterprise Linux.

Build a simple but sane XPath query parser into virt-inspector
directly so that we don't need any external tools.
(cherry picked from commit d1ee71782ace98a11c5aabaf1f9fd5f601e08367)
inspector/virt-inspector.c
inspector/virt-inspector.pod