Update,
I tried adding root\virtualization\*v2 *to the namespace in libvirt source
code for hyperv. I ran some tests and it seems to work. I get the same
functionality (supported vs non-supported drivers) as hyper-v 2008.
Do you guys want me to submit the patch? If yes, what all do I need to
update to get the patch in?
Thanks,
Vik.
On Tue, Apr 15, 2014 at 5:26 PM, vikhyath reddy <reddy.vikhyath(a)gmail.com>wrote:
Hello everyone,
Thanks for libvirt. I did see on the libvirt page that hyper-v 2008 is
supported (which it does). So I tried running it on Hyper-v 2012 r2 but
virsh fails to connect by an error that says
*"error: internal error: SOAP fault during enumeration: code 's:Sender',
subcode 'n:CannotProcessFilter', reason 'The data source could not process
the filter. The filter might be missing or it might be invalid. Change the
filter and try the request again. ', detail '500The specified class does
not exist in the given namespace. HRESULT 0x8033801a0052150858778HRESULTThe
specified class does not exist in the given namespace. ' "*
Upon looking into the Hyper-v 2012 r2 server event logs, I found that this
is going on
[ Source: WMI-Activity
Event ID: 5898
Microsoft-Windows-WMI-Activity/Operational ]
*Id = {62D480B2-58EF-0000-E580-D462EF58CF01}; ClientMachine = VIKHYPERV;
User = VIKHYPERV\Administrator; ClientProcessId = 884;Component = Unknown;
Operation = Start IWbemServices::ExecQuery - root\virtualization : select *
from Msvm_ComputerSystem whereDescription = "Microsoft Hosting Computer
System" ; ResultCode = 0x80041010; PossibleCause = Unknown*
Note that* Msvm_ComputerSystem *is missing in the namespace *root\virtualization.
*Upon further investigation, I found that the new namespace where *Msvm_ComputerSystem
*is located is at root\virtualization\*v2*
Is (it possible?) there some way I can know where in the source code,
libvirt is specifying the namespace so that I can try patching it up and
see if it fixes things?
Thanks for all your help,
Vik.