Originally posted by: Sunner
Originally posted by: bsobel
Originally posted by: thepingofdeath
yay. then i can finally run linux but losslessly and quickly swap to windows to play a game.
Yep. I personally believe (as this is improved) it's one of the biggest threats to MS. Linux itself isn't. But being able to truely try Linux (or OSX... just wait) side by side without 'losing everything' will help level the playing field. Those other OS's will still need to compete, but people who feel they do can migrate over instead of 'jump' like today
My 2 cents, your mileage WILL vary
Never thought of that really, good point :thumbsup:
The current way Xen works it won't be as easy as all that.
Right now you have the core Xen system which runs the hardware and then the OSes run on that. (just a FYI so that people don't get confused that it works like Vmware versions were you run Vmware as a application inside another OS).
On that you have what they call 'rings'. The initial OS that gets started will run in 'ring 0'... which gives it special privilages to access hardware directly that other operating systems in other rings won't be able to do. This will allow it access to things like video and audio hardware. Other operating systems that will run won't have direct access like that, so things like 3d games in a non-ring 0 won't work.
So if you wanted to play video games in Windows, but be able to use Linux, you'd have to do something like run Windows in ring 0, to get access for hardware acceleration, then run Linux as another Xen-hosted OS. Then you could do something like run a X server on Windows and then use that to communicate directly with Linux.
Something like that, that's just from what I understand, though. I could be easilly wrong.
I don't know if this will change with Xen 3.0 either. It could be that with additional archatecture support with VT and such you could transfer hardware control over from one OS to another, but I doubt that would work very well if at all.
At this point most of the great things about Xen relate directly to servers and network services, and then also to clustering developement and also regular cross-platform developement. It would make it MUCH simplier to switch over from Windows servers to Linux servers for instance. Say you have some legacy VB apps that were developed in house for a corporation and they require a Windows server setup to work. That way you could run Windows server as a Xen client OS and move it around from PC server to PC server as it is needed. That sort of thing.
That's one of the neatest features I like about Xen. It has the ability to transfer memory information from one computer to another due to the abstraction. I think it works a bit like rsync or a primitive concurrent version control system... as the client OS is being used it copies memory image over to the other computer bit by bit. It tries to copy over information that isn't changing so much and updates everything gradually so that the idea is that the memory space on both machines is identical as much as possible. The the last part of the memory, that is being actively accessed and changed, will be 'paused' and sent over the network as quickly as possible. So that way if your working with a system memory image that is a few hundred megs, the majority of the memory will be already present on the other machine and the final few Ks or Megs will be transfered over... that way the system will have as little downtime as possible.