--Apple-Mail=_2AAB03AC-E613-414F-9934-1D09A2881795
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252
On 27 Jun 2014, at 06:06, Punit Dambiwal wrote:
Hi,
=20
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).
Then you just want to set the CPU model in Cluster=85that's it
Thanks,
michal
=20
=20
=20
On Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek =
<michal.skrivanek(a)redhat.com> wrote:
=20
On Jun 26, 2014, at 13:42 , Sven Kieske <S.Kieske(a)mittwald.de> wrote:
=20
>
>
> Am 26.06.2014 13:28, schrieb Michal Skrivanek:
>>
>> On Jun 26, 2014, at 13:18 , Dan Kenigsberg <danken(a)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=85I =
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-c=
onfig-options.html
=20
yes, that's what we have at cluster level and there is an RFE for =
per-VM
level
=20
>
> But I still do not see the benefit of "faking" a certain cpu model.
=20
there is no faking, it is always real for the guest.
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.
=20
Thanks,
michal
=20
>
>
> --
> Mit freundlichen Gr=FC=DFen / Regards
>
> Sven Kieske
>
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> K=F6nigsberger Stra=DFe 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
>
https://www.mittwald.de
> Gesch=E4ftsf=FChrer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad =
Oeynhausen
> Komplement=E4rin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG
Bad =
Oeynhausen
=20
=20
--Apple-Mail=_2AAB03AC-E613-414F-9934-1D09A2881795
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=windows-1252
<html><head></head><body style=3D"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=3D"Apple-interchange-newline"><blockquote
type=3D"cite"><div =
dir=3D"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=85that's =
it</div><div><br></div><div>Thanks,</div><div>michal</div><div><br><blockq=
uote type=3D"cite"><div dir=3D"ltr">
<br></div><div
class=3D"gmail_extra"><br><br><div
class=3D"gmail_quote">On=
Thu, Jun 26, 2014 at 7:48 PM, Michal Skrivanek <span
dir=3D"ltr"><<a =
href=3D"mailto:michal.skrivanek@redhat.com" =
target=3D"_blank">michal.skrivanek(a)redhat.com</a>&gt;</span>
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div
class=3D""><br>
On Jun 26, 2014, at 13:42 , Sven Kieske <<a =
href=3D"mailto:S.Kieske@mittwald.de">S.Kieske@mittwald.de</a>>
=
wrote:<br>
<br>
><br>
><br>
> Am <a href=3D"tel:26.06.2014%2013"
value=3D"+12606201413">26.06.2014 =
13</a>:28, schrieb Michal Skrivanek:<br>
>><br>
>> On Jun 26, 2014, at 13:18 , Dan Kenigsberg <<a =
href=3D"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=3D"tel:25.06.2014%2011" =
value=3D"+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=85I don't think you meant that...<br>
><br>
> I guess he refers to the cpu_model mentioned here:<br>
> <a =
href=3D"http://docs.openstack.org/trunk/config-reference/content/lis...
ompute-config-options.html" =
target=3D"_blank">http://docs.openstack.org/trunk/config-ref...
/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=3D""><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=3D"HOEnZb"><div class=3D"h5"><br>
><br>
><br>
> --<br>
> Mit freundlichen Gr=FC=DFen / Regards<br>
><br>
> Sven Kieske<br>
><br>
> Systemadministrator<br>
> Mittwald CM Service GmbH & Co. KG<br>
> K=F6nigsberger Stra=DFe 6<br>
> 32339 Espelkamp<br>
> T: <a href=3D"tel:%2B49-5772-293-100" =
value=3D"+495772293100">+49-5772-293-100</a><br>
> F: <a href=3D"tel:%2B49-5772-293-333" =
value=3D"+495772293333">+49-5772-293-333</a><br>
> <a href=3D"https://www.mittwald.de/" =
target=3D"_blank">https://www.mittwald.de</a><br>
> Gesch=E4ftsf=FChrer: Robert Meyer<br>
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad =
Oeynhausen<br>
> Komplement=E4rin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad =
Oeynhausen<br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></body></html>=
--Apple-Mail=_2AAB03AC-E613-414F-9934-1D09A2881795--