Enumerate error with Xen_KVMRedirectionSAP

Hi , The ein on Xen_KVMRedirectionSAP kills the cimserver and throws the following error. wbemcli ein 'http://root:password@localhost/root/virt:Xen_KVMRedirectionSAP' -nl * * wbemcli: Http Exception: server returned nothing (no headers, no data) * Thanks and Regards, Deepti.

Sorry forgot to mention the libvirt-cim revision: 751 Thanks and Regards, Deepti. Deepti B Kalakeri wrote:
Hi ,
The ein on Xen_KVMRedirectionSAP kills the cimserver and throws the following error.
wbemcli ein 'http://root:password@localhost/root/virt:Xen_KVMRedirectionSAP' -nl * * wbemcli: Http Exception: server returned nothing (no headers, no data) *
Thanks and Regards, Deepti.

Deepti B Kalakeri wrote:
Sorry forgot to mention the libvirt-cim revision: 751
Thanks and Regards, Deepti.
Thanks for finding this bug Deepti. It was due to an uninitialized structure field. I'll be sending a patch shortly... -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Kaitlin Rupert wrote:
Deepti B Kalakeri wrote:
Sorry forgot to mention the libvirt-cim revision: 751
Thanks and Regards, Deepti.
Thanks for finding this bug Deepti. It was due to an uninitialized structure field. I'll be sending a patch shortly... Cool, I verified your patch and the enum works for me. But, the Name field or SystemName field when supplied with invalid value for the gi query crashes the cimserver.
Ex: wbemcli gi 'http://root:password@localhost:5988/root/virt:Xen_KVMRedirectionSAP.CreationClassName="Xen_KVMRedirectionSAP",*Name="Wrong"*,SystemCreationClassName="Xen_ComputerSystem",SystemName="rhel_52"' -nl * * wbemcli: Http Exception: server returned nothing (no headers, no data) * Also, will the Name value will be set to "-1:-1" by default. How can we alter this value ? Thanks and Regards, Deepti.

Deepti B Kalakeri wrote:
Kaitlin Rupert wrote:
Deepti B Kalakeri wrote:
Sorry forgot to mention the libvirt-cim revision: 751
Thanks and Regards, Deepti.
Thanks for finding this bug Deepti. It was due to an uninitialized structure field. I'll be sending a patch shortly... Cool, I verified your patch and the enum works for me. But, the Name field or SystemName field when supplied with invalid value for the gi query crashes the cimserver.
Ex:
wbemcli gi 'http://root:password@localhost:5988/root/virt:Xen_KVMRedirectionSAP.CreationClassName="Xen_KVMRedirectionSAP",*Name="Wrong"*,SystemCreationClassName="Xen_ComputerSystem",SystemName="rhel_52"' -nl * * wbemcli: Http Exception: server returned nothing (no headers, no data) *
This is caused by a free attempt on an uninitialized value. A patch is on the way for this.
Also, will the Name value will be set to "-1:-1" by default. How can we alter this value ?
This value is the "port:listen address" of the guest's graphics device. I've submitted a patchset that allows a user to pass a GraphicsRASD to DefineSystem(). You can specify the port and listen address using the RASD. Also, if the guest doesn't have a graphics device, then a KVMRedirectionSAP instance will not be returned for that guest. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

KR> This value is the "port:listen address" Wait, really? If this is the case, it should be address:port to be consistent with the rest of the world. I didn't catch this in the review of those patches, otherwise I would have brought it up. Definitely worth changing, IMHO. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

Dan Smith wrote:
KR> This value is the "port:listen address"
Wait, really? If this is the case, it should be address:port to be consistent with the rest of the world. I didn't catch this in the review of those patches, otherwise I would have brought it up. Definitely worth changing, IMHO.
Sorry, I was talking non-sense there. For KVMRedirectionSAP, the Name attribute is "local port:remote port". For GraphicsRASD, the InstanceID is "address:port". -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (3)
-
Dan Smith
-
Deepti B Kalakeri
-
Kaitlin Rupert