[Libvirt-cim] Xen_HostedService return expected queried result with non existing instance by two sides

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Jan 8 13:07:41 UTC 2008


Guo Lian Yun wrote:
>
> Hi,
>
> With a non existing instance, e.g. a wrong key name or value, 
> Xen_HostedService still return expected results below:
>
> wbemcli ain -ac Xen_HostedService 
> http://root:password@localhost/root/virt:Xen_ResourcePoolConfigurationService.wrong="wrong"
> localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit"
>
> wbemcli ain -ac Xen_HostedService 
> http://root:password@localhost/root/virt:Xen_HostSystem.CreationClassName="wrong",Wrong="zeit"
> localhost:5988/root/virt:Xen_ResourcePoolConfigurationService.CreationClassName="Xen_ResourcePoolConfigurationService",Name="RPCS",SystemCreationClassName="Xen_HostSystem",SystemName="zei"
> localhost:5988/root/virt:Xen_VirtualSystemManagementService.CreationClassName="Xen_VirtualSystemManagementService",Name="Management 
> Service",SystemCreationClassName="Xen_HostSystem",SystemName="zeit"
> localhost:5988/root/virt:Xen_VirtualSystemMigrationService.CreationClassName="Xen_VirtualSystemMigrationService",Name="MigrationService",SystemCreationClassName="",SystemName=""
>
Daisy, thank you for reporting this bug. Very good finding :) ! The 
patch "HS: returns results for wrong object path" should fix this issue. 
Please can you verify it ? Thanks a lot.

-- 
Regards

Heidi Eckhart
Software Engineer
IBM Linux Technology Center - Open Hypervisor




More information about the Libvirt-cim mailing list