Re: [libvirt] [libvirt-glib] Remove unneeded call in libvirt-gconfig test

2012-03-20 Thread Zeeshan Ali (Khattak)
On Fri, Mar 16, 2012 at 6:43 PM, Christophe Fergeau cferg...@redhat.com wrote:
 Because of a copy and paste error, the test program is making an
 unneeded call to gvir_config_domain_channel_set_target_type
 when setting up its USB redirection device.

ACK :)

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [libvirt-glib] Remove unneeded call in libvirt-gconfig test

2012-03-16 Thread Christophe Fergeau
Because of a copy and paste error, the test program is making an
unneeded call to gvir_config_domain_channel_set_target_type
when setting up its USB redirection device.
---
 libvirt-gconfig/tests/test-domain-create.c |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libvirt-gconfig/tests/test-domain-create.c 
b/libvirt-gconfig/tests/test-domain-create.c
index 88c887d..4ee33aa 100644
--- a/libvirt-gconfig/tests/test-domain-create.c
+++ b/libvirt-gconfig/tests/test-domain-create.c
@@ -204,8 +204,6 @@ int main(int argc, char **argv)
 redirdev = gvir_config_domain_redirdev_new();
 gvir_config_domain_redirdev_set_bus(redirdev,
 GVIR_CONFIG_DOMAIN_REDIRDEV_BUS_USB);
-gvir_config_domain_channel_set_target_type(channel,
-   
GVIR_CONFIG_DOMAIN_CHANNEL_TARGET_VIRTIO);
 spicevmc = gvir_config_domain_chardev_source_spicevmc_new();
 gvir_config_domain_chardev_set_source(GVIR_CONFIG_DOMAIN_CHARDEV(redirdev),
   
GVIR_CONFIG_DOMAIN_CHARDEV_SOURCE(spicevmc));
-- 
1.7.7.6

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list