<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 27 Jun 2014, at 06:06, Punit Dambiwal wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Hi,<br><br></div>I don't want to faking a CPU model.....my main concern is to create the homogeneous environment,so the guest can be migrate between hosts with diffrent CPU (If i can change the CPU model with the custom name).<br></div></blockquote><div><br></div>Then you just want to set the CPU model in Cluster…that's it</div><div><br></div><div>Thanks,</div><div>michal</div><div><br><blockquote type="cite"><div dir="ltr">
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek <span dir="ltr"><<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On Jun 26, 2014, at 13:42 , Sven Kieske <<a href="mailto:S.Kieske@mittwald.de">S.Kieske@mittwald.de</a>> wrote:<br>
<br>
><br>
><br>
> Am <a href="tel:26.06.2014%2013" value="+12606201413">26.06.2014 13</a>:28, schrieb Michal Skrivanek:<br>
>><br>
>> On Jun 26, 2014, at 13:18 , Dan Kenigsberg <<a href="mailto:danken@redhat.com">danken@redhat.com</a>> wrote:<br>
>><br>
>>> On Wed, Jun 25, 2014 at 11:19:17AM +0000, Sven Kieske wrote:<br>
>>>><br>
>>>><br>
>>>> Am <a href="tel:25.06.2014%2011" value="+12506201411">25.06.2014 11</a>:43, schrieb Punit Dambiwal:<br>
>>>>> Hi Sven,<br>
>>>>><br>
>>>>> Please let me know which VDSM hook can be used for the same,is there any<br>
>>>>> hook available for the same... ??<br>
>>>><br>
>>>> I don't know any hook that does this, it should be relatively simple,<br>
>>>> though.<br>
>>>> Maybe someone else can assist, CC'ing Dan:<br>
>>>><br>
>>>> Do you know of a hook that manipulates the emulated CPU model?<br>
>>><br>
>>> Within the Vdsm code tree, only faqemu does that (and it only drops,<br>
>>> causing qemu to do its best). You can build on top of faqemu to set to<br>
>>> your favorite guest cpu.<br>
>>><br>
>>> However, I think that Engine was once capable of setting a specific<br>
>>> cpuType - is it still possible without hacking its DB, Arik?<br>
>><br>
>> I'm not sure what do you actually mean<br>
>> hide what from whom?<br>
>> the guest sees particular CPU, there's nothing like "Virtual xyz", it either sees flags matching e.g. Nehalem or not. You can select different CPU at the cluster level if you wish, and that's what the guest will see, regardless what your host has<br>
>><br>
>> faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that...<br>
><br>
> I guess he refers to the cpu_model mentioned here:<br>
> <a href="http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html" target="_blank">http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html</a><br>
<br>
</div>yes, that's what we have at cluster level and there is an RFE for per-VM level<br>
<div class=""><br>
><br>
> But I still do not see the benefit of "faking" a certain cpu model.<br>
<br>
</div>there is no faking, it is always real for the guest.<br>
so yes, you can make it look(and actually perform) less capable so you can migrate across heterogenous hosts; or make it less capable just if you wish so, but that's it.<br>
<br>
Thanks,<br>
michal<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> --<br>
> Mit freundlichen Grüßen / Regards<br>
><br>
> Sven Kieske<br>
><br>
> Systemadministrator<br>
> Mittwald CM Service GmbH & Co. KG<br>
> Königsberger Straße 6<br>
> 32339 Espelkamp<br>
> T: <a href="tel:%2B49-5772-293-100" value="+495772293100">+49-5772-293-100</a><br>
> F: <a href="tel:%2B49-5772-293-333" value="+495772293333">+49-5772-293-333</a><br>
> <a href="https://www.mittwald.de/" target="_blank">https://www.mittwald.de</a><br>
> Geschäftsführer: Robert Meyer<br>
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen<br>
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen<br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></body></html>