libvirt-cim-bounces(a)redhat.com wrote on 2008-12-10 04:40:02:
> cn_id = {
> 'LogicalDisk' : test_disk,
> 'Memory' : 'mem',
> 'NetworkPort' : test_mac,
> 'Processor' : test_vcpus -1 }
> +
> + curr_cim_rev, changeset = get_provider_version(options.
virt, options.ip)
> + if curr_cim_rev >= input_graphics_pool_rev:
> + cn_id = {
> + 'LogicalDisk' : test_disk,
> + 'Memory' : 'mem',
> + 'NetworkPort' : test_mac,
> + 'Processor' : test_vcpus -1,
> + 'PointingDevice' : input_device,
> + 'DisplayController' : 'graphics'
> + }
Since cn_id is already defined, instead of redefining it here, just add
the elements you need:
cn_id['PointingDevice'] = input_device
etc
Fixed.
Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim