<div dir="ltr">Update,<div><br></div><div>I tried adding <span style="font-family:arial,sans-serif;font-size:13px">root\virtualization\</span><b style="font-family:arial,sans-serif;font-size:13px">v2 </b><span style="font-family:arial,sans-serif;font-size:13px">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.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Do you guys want me to submit the patch? If yes, what all do I need to update to get the patch in?</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">Thanks,</font></div><div><font face="arial, sans-serif">Vik.</font></div></div><div class="gmail_extra">
<br>
<br><div class="gmail_quote">On Tue, Apr 15, 2014 at 5:26 PM, vikhyath reddy <span dir="ltr"><<a href="mailto:reddy.vikhyath@gmail.com" target="_blank">reddy.vikhyath@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hello everyone,<div><br></div><div>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</div>


<div><br></div><div><i>"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. ' "</i><br>


</div><div><br></div><div>Upon looking into the Hyper-v 2012 r2 server event logs, I found that this is going on</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">[ Source: WMI-Activity</span><br style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px">Event ID: 5898</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Microsoft-Windows-WMI-</span><span style="font-family:arial,sans-serif;font-size:13px">Activity/Operational ]</span><br style="font-family:arial,sans-serif;font-size:13px">


<br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><i><span style="font-family:arial,sans-serif;font-size:13px">Id = {62D480B2-58EF-0000-E580-</span><span style="font-family:arial,sans-serif;font-size:13px">D462EF58CF01}; ClientMachine =</span><br style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px">VIKHYPERV; User = VIKHYPERV\Administrator; ClientProcessId = 884;</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Component = Unknown; Operation = Start IWbemServices::ExecQuery -</span><br style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px"><b>root\virtualization</b> : <b>select * from Msvm_ComputerSystem</b> where</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Description = "Microsoft Hosting Computer System" ; ResultCode =</span><br style="font-family:arial,sans-serif;font-size:13px">


<span style="font-family:arial,sans-serif;font-size:13px">0x80041010; PossibleCause = Unknown</span></i><br></div><div><i><span style="font-family:arial,sans-serif;font-size:13px"><br></span></i></div><div><font face="arial, sans-serif">Note that</font><span style="font-family:arial,sans-serif;font-size:13px"><i> Msvm_ComputerSystem </i>is missing in the namespace </span><span style="font-family:arial,sans-serif;font-size:13px"><i>root\virtualization. </i>Upon further investigation, I found that the new namespace where </span><i style="font-size:13px;font-family:arial,sans-serif">Msvm_ComputerSystem </i><span style="font-size:13px;font-family:arial,sans-serif">is located is at root\virtualization\<b>v2</b></span></div>


<div><span style="font-size:13px;font-family:arial,sans-serif"><b><br></b></span></div><div><font face="arial, sans-serif">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?</font></div>


<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks for all your help,</font></div><div><font face="arial, sans-serif">Vik.</font></div></div>
</blockquote></div><br></div>