http://bugs.winehq.org/show_bug.cgi?id=20098
--- Comment #23 from red-ray ray@pobox.co.uk 2009-09-25 18:10:50 --- (In reply to comment #21)
(In reply to comment #17)
(In reply to comment #15)
you can add RDMSR emulation in Wine
Please will you clarify the sitwation on adding RDMSR emulation to Wine ? For this to be any better then my current work-a-round the emulation would need to call mknod(), I doubt if you would accept such a patch, but I feel I would ask.
If you want to write a patch that opens /dev/cpu/msr if it exists, it might be accepted. Anything that calls mknod() wouldn't, because that's a silly thing to do. We don't call mknod() when opening disk or serial devices either, just like we don't call mount() when accessing /proc. These are part of the standard system setup, based on sysadmin policies, user apps have no business messing with that.
You are rather good telling me what I should and should not be doing. Why not make a positive input, for a change, and tell me how I can read MSRs in some other way ? On Windows this is very easy, I load my kernel mode driver and it reads MSRs for me, surely this must be posile on Wine/*nix with equal ease.