Re: libvirt Hyper-v 2012 r2 fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-04-16 3:26 GMT+02:00 vikhyath reddy <reddy.vikhyath@xxxxxxxxx>:
> 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@xxxxxxxxx>
> 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 where
>> Description = "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.

Yes, send a patch for this.

To get your patch in, you need to send it to this list for review.
After a successful review it'll be pushed to the git repo by someone
with commit access.

See http://libvirt.org/hacking.html for more details about working on
the source and submitting patches.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]