diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-09-16 14:50:49 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-10-30 10:52:53 +0100 |
commit | 9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23 (patch) | |
tree | 9d4ee05c111894249fc4de50b4da8389ddc7fd89 /src/remote-viewer-main.c | |
parent | 8df64ae4eca75618a9a60885695df4880c2f76fa (diff) | |
download | virt-viewer-9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23.tar.gz virt-viewer-9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23.tar.xz virt-viewer-9eb3747f1f0b27d5aa4c7fc9e1fccb8b21520b23.zip |
ovirt: Honour oVirt command line options
libgovirt 0.3.0 and newer can be passed from the commandline a CA
certificate to use during SSL communications. This commit adds support
for this option to remote-viewer.
Diffstat (limited to 'src/remote-viewer-main.c')
-rw-r--r-- | src/remote-viewer-main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/remote-viewer-main.c b/src/remote-viewer-main.c index a773288..505074e 100644 --- a/src/remote-viewer-main.c +++ b/src/remote-viewer-main.c @@ -36,6 +36,9 @@ #ifdef HAVE_SPICE_GTK #include <spice-option.h> #endif +#ifdef HAVE_OVIRT +#include <govirt/ovirt-options.h> +#endif #include "remote-viewer.h" #include "virt-viewer-app.h" @@ -118,6 +121,9 @@ main(int argc, char **argv) #ifdef HAVE_SPICE_GTK g_option_context_add_group (context, spice_get_option_group ()); #endif +#ifdef HAVE_OVIRT + g_option_context_add_group (context, ovirt_get_option_group ()); +#endif g_option_context_parse (context, &argc, &argv, &error); if (error) { char *base_name; |