Skip to contentSkip to conversation

Query on migration

DISCUSSION Balaji Rao 2 participants 2 messages Feb 15, 2008 KVM

lore
Share & tools
lore

Balaji Rao

author
#0 lore raw

Hello all,

When going through orpofile code, I noticed that boot_cpu_data was used to determine CPU vendor, family etc. Will this be updated on migration to a different Machine say, from Intel to AMD ? If not, wouldn't it cause problems ?

Please clarify.

Signature · 7 lines
regards,
balaji rao

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#1 lore raw
Quoted 7 lines · Balaji Rao

Hello all,

When going through orpofile code, I noticed that boot_cpu_data was used to determine CPU vendor, family etc. Will this be updated on migration to a different Machine say, from Intel to AMD ? If not, wouldn't it cause problems ?

Please clarify.

Right now it is a problem and the cpu vendor will be different on the destination. Guest application might notice it and brake and even more likely that instructions like sysenter/exit are not the same on the target cpu.
Luckily there is a patch by Amit Shah for emulating them and it and the option of virtualizing the cpu parameters will be committed soon.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/