2008/3/5, Avi Kivity <[EMAIL PROTECTED]>: > Andi Kleen wrote: > > Avi Kivity <[EMAIL PROTECTED]> writes: > > > >> Most likely movs emulation is broken for long counts. Please post a > >> disassembly of copy_user_generic_string to make sure we're looking at > >> the same code. > >> > > > > Be careful -- this code is patched at runtime and what you > > see in the vmlinux is not necessarily the same that is executed > > > > > > > If the disassembled instruction isn't marked as an alternative in the > source, then it can't be patched, right? > > > > > Incidentially that might cause problems. > > > Specific to kvm? how? >
As for me - I'm note sure were this bug come from - I just can easily reproduce it on my box with Qemu-kvm - the problem could be also directly in kernel - (either MMU or dm) - I just know the bug is not reproducible with vmware nor natively running code. On the other hand Qemu-kvm easily catches racing bugs compared with native execution - so maybe it's exposing some MMU problem. I've traced the problem to the instruction place - but I'm not sure how to help more with this issue - so if anyone has some idea what else should I check - let me know. I've got an idea to replace rep movqs with plain asm loop - does anyone thinks it might be worth to check this ?? Zdenek PS: In the attachment there is my config file - thought there is probably nothing special
config.bz2
Description: BZip2 compressed data
------------------------------------------------------------------------- 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/
_______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel