[ovirt-users] Mask the CPU model
Sven Kieske
S.Kieske at mittwald.de
Thu Jun 26 11:42:06 UTC 2014
Am 26.06.2014 13:28, schrieb Michal Skrivanek:
>
> On Jun 26, 2014, at 13:18 , Dan Kenigsberg <danken at redhat.com> wrote:
>
>> On Wed, Jun 25, 2014 at 11:19:17AM +0000, Sven Kieske wrote:
>>>
>>>
>>> Am 25.06.2014 11:43, schrieb Punit Dambiwal:
>>>> Hi Sven,
>>>>
>>>> Please let me know which VDSM hook can be used for the same,is there any
>>>> hook available for the same... ??
>>>
>>> I don't know any hook that does this, it should be relatively simple,
>>> though.
>>> Maybe someone else can assist, CC'ing Dan:
>>>
>>> Do you know of a hook that manipulates the emulated CPU model?
>>
>> Within the Vdsm code tree, only faqemu does that (and it only drops,
>> causing qemu to do its best). You can build on top of faqemu to set to
>> your favorite guest cpu.
>>
>> However, I think that Engine was once capable of setting a specific
>> cpuType - is it still possible without hacking its DB, Arik?
>
> I'm not sure what do you actually mean
> hide what from whom?
> 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
>
> faqemu is changing the configured CPU type to fully emulated CPU…I don't think you meant that...
I guess he refers to the cpu_model mentioned here:
http://docs.openstack.org/trunk/config-reference/content/list-of-compute-config-options.html
But I still do not see the benefit of "faking" a certain cpu model.
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
More information about the Users
mailing list