Skip to contentSkip to conversation

floating point state?

DISCUSSION Hollis Blanchard 2 participants 3 messages Mar 15, 2007 KVM

lore
Share & tools
lore
#0 lore raw

This may just be my unfamiliarity with x86, but I can't see where the floating point state is being saved, and it doesn't seem to be part of the KVM_GET_REGS or KVM_GET_SREGS interfaces.

It's being saved and restored fine, but since it's not part of the userspace interface I guess that would mean FP state is inaccessible to host tools and will be lost across save/resume?

I don't see where MMX state is being handled at all. Does that work?

-Hollis

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw
Quoted 2 lines · Hollis Blanchard

I don't see where MMX state is being handled at all. Does that work?

Oops, forgot that MMX uses the floating point registers. I was just trying to think of any other "extra" register state that might have been overlooked.

-Hollis

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw
In reply to Hollis Blanchard
Quoted 5 lines · Hollis Blanchard

This may just be my unfamiliarity with x86, but I can't see where the floating point state is being saved, and it doesn't seem to be part of the KVM_GET_REGS or KVM_GET_SREGS interfaces.

Oops.

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV