Slashdot Mirror


Xen High-Performance x86 Virtualization Released

Xen Team writes "The University of Cambridge Computer Laboratory Systems Research Group is pleased to announce the open source release of Xen, a virtual machine monitor for x86. Xen lets you run multiple operating system images at the same time on the same PC hardware, with unprecedented levels of performance and resource isolation. Even under the most demanding workloads the performance overhead is just a few percent --- considerably less than alternatives such as VMware Workstation and User Mode Linux. This makes Xen ideal for use in providing secure virtual hosting, or even just for running multiple OSes on a desktop machine."

The Xen team continues: "Xen requires guest operating systems to be ported to run over it. Crucially, only the kernel needs to be ported, and all user-level application binaries and libraries can run unmodified. We have a fully functional port of Linux 2.4.22 running over Xen, and regularly use it for running demanding applications like Apache, PostgreSQL and Mozilla. Any Linux distribution should run unmodified over the ported kernel. With assistance from Microsoft Research, we have a port of Windows XP to Xen nearly complete, and are planning a FreeBSD 4.8 port in the near future.

"Visit the project homepage to find out more, and download the project source code or the XenDemoCD, a bootable 'live iso' image that enables you to play with Xen/Linux 2.4 without needing to install it on your hard drive. The CD also contains full source code, build tools, and benchmarks. Our SOSP paper gives an overview of the design of Xen, and evaluates the performance against other virtualization techniques.

"Work on Xen is supported by UK EPSRC grant GR/S01894, Intel Research Cambridge, and Microsoft Research Cambridge via an Embedded XP IFP award."

54 of 316 comments (clear)

  1. Pfff by AKAImBatman · · Score: 4, Informative

    > Xen requires guest operating systems to be ported to run over it.

    Get me all excited, then pull the rug out from under my why don't you? This is still pretty neat, but it's hardly a replacement for VMWare or Bochs.

    1. Re:Pfff by JohnFluxx · · Score: 4, Interesting

      I got excitted that windows would be ported to use it.. but then:

      "The Windows XP port is nearly finished. It's running user space applications and is generally in pretty good shape thanks to some hard work by the team over the summer. Of course, there are issues with releasing this code to others. We should be able to release the source and binaries to anyone that has signed the Microsoft academic
      source license, which these days has very reasonable terms. We are in discussions with Microsoft about the possibility of being able to make binary releases to a larger user community. Obviously, there are issues with product activation in this environment which need to be
      thought through."

      It would be a bitch if it was ported, worked perfectly, but then nobody was able to use it.

    2. Re:Pfff by rmohr02 · · Score: 4, Informative

      Only the kernel needs to be ported, and they have ported Linux 2.4.22 for you, and they're working on NetBSD, FreeBSD, and have almost finished Windows XP.

    3. Re:Pfff by jdh28 · · Score: 3, Interesting

      No, VMware runs unmodified binaries.

      What they do provide is ready made installations of various operating systems you can just install, although you have to pay for these (well, the MS ones at least).

    4. Re:Pfff by spektr · · Score: 4, Interesting

      The Windows XP port is nearly finished. It's running user space applications and is generally in pretty good shape thanks to some hard work by the team over the summer.

      I'm surprised that this was possible at all with Windows XP. Microsoft's Shared Source program doesn't seem to be as useless as I thought.

      Of course, there are issues with releasing this code to others. We should be able to release the source and binaries to anyone that has signed the Microsoft academic source license, which these days has very reasonable terms. We are in
      discussions with Microsoft about the possibility of being able to make
      binary releases to a larger user community.


      I think there are two possibilities to do this. First, Microsoft incorporates the changes into their main trunk or releases patches for it. Second, Microsoft allowes a group of hackers to distribute modified Windows binaries. Both alternatives don't seem very probable.

    5. Re:Pfff by kalidasa · · Score: 2, Interesting

      MS is one of their sponsors. How much you want to bet that MS licenses the technology and distributes it under their own logo? We already know from the VirtualPC purchase that this is a future direction for them.

    6. Re:Pfff by kzinti · · Score: 3, Insightful

      In being so quick to chastise the guy for not reading the article, you missed the point. If anything at all needs to be ported, it means that an OS like XP can't be installed on Xen out of the box. It means that a port of the XP kernel has to be completed, and that MS has to authorize the ported kernel to be distributed. For lots of folks, this is not good enough... even assuming that MS ever would allow the ported kernel to be distributed (and then we have to worry about activation issues too). So, while Xen is great for allowing linux users to run multiple distros at max performance at the same time, it doesn't much help someone who wants to run XP, and might never help them. Those folks still have to resort to VMWare or Bochs.

      Pfff...

    7. Re:Pfff by larry+bagina · · Score: 2, Funny
      How about "free as in herpes". It fits GPL to a T - it's viral, you can share it, but you can't get rid of it once you're infected.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    8. Re:Pfff by vrt3 · · Score: 2, Informative
      Yes, but VMWare still needs to make concessions for each supported OS. Yes, you can install and run Solaris/86, pre-v6 Netware versions, plan9, and BeOS under VMWare (with varying success), but they're not supported. They need to tweak VMWare for each OS.
      I could be wrong, but I didn't think so. Not supported means they don't support it, not that it doesn't work. The tweaking that is done when you select a specific OS only concerns the configuration, such as amount of memory and stuff. Things you can easily adjust yourself.
      I'm unsure why Xen needs guest OS mods, vs the way VMWare and Plex86 do things. I only skimmed the paper, so I might have missed something.
      VMWare and Plex86 need to trap priviledged instructions in running code and replace them with their own. I believe they do this by literally scanning code-to-be-executed, which slows down the virtual machine of course.
      Xen solves this by replacing all such instructions with Xen system calls; somewhat the same as User Mode Linux, where low level instructions are replaced with system calls to the host kernel.
      --
      This sig under construction. Please check back later.
    9. Re:Pfff by beezly · · Score: 2, Insightful

      The license used to enable them to do this modification isn't the Shared Source License, it's the Microsoft Academic Source License. It's completely different.

    10. Re:Pfff by Fluffy+the+Cat · · Score: 2, Informative

      I'm surprised that this was possible at all with Windows XP. Microsoft's Shared Source program doesn't seem to be as useless as I thought.

      Microsoft Research UK is literally next door to the University of Cambridge Computer Laboratory. Microsoft Research UK desperately wants the university to like it in order to gain more academic credability.

    11. Re:Pfff by Martin+Blank · · Score: 2, Informative

      I could be wrong, but I didn't think so. Not supported means they don't support it, not that it doesn't work. The tweaking that is done when you select a specific OS only concerns the configuration, such as amount of memory and stuff. Things you can easily adjust yourself.

      Correct. Debian's not supported, but it works. OpenBSD isn't supported, but it (sort of) works. Basically, you have to be prepared to deal with some frustration in things being slow or sometimes unstable, but this does not have to do so much with the emulation as it does with the tools. VMWare has a package that is installed on the virtual machines that contains drivers for the hardware that does need to be virtualized, and a couple of utilities allowing access to a "shared drive" to allow easier movement of files between main system and VM. The Linux tools, BTW, can be compiled individually for each OS. Once I finally got Debian installed, this made things much smoother.

      --
      You can never go home again... but I guess you can shop there.
    12. Re:Pfff by kscguru · · Score: 4, Informative
      I'm unsure why Xen needs guest OS mods, vs the way VMWare and Plex86 do things. I only skimmed the paper, so I might have missed something.

      VMWare and Plex86 need to trap priviledged instructions in running code and replace them with their own. I believe they do this by literally scanning code-to-be-executed, which slows down the virtual machine of course. Xen solves this by replacing all such instructions with Xen system calls; somewhat the same as User Mode Linux, where low level instructions are replaced with system calls to the host kernel.

      Not quite ... they just run the virtualized kernel in plain user-mode, then when a privilaged instruction comes up it trips a processor exception. The VMM (VMware or Plex86) then steps in, emulates the privilaged instruction, then gets out of the way. Privilaged instructions, for the non OS-enthusiasts, are usually hardware-related things like INP and OUTP, instructions to change the page tables, switch between 8086 and protected mode, etc. Since these instructions are so rare, VMWare is only ~10% slower than normal - and runs full speed on a large set of workloads.

      Not having read the Xen site yet, what they _probably_ do is replace all such instructions in the source code with their own function calls. VMware did something similar at one point, but didn't turn it into a product because they felt it didn't have commercial potential.

      --

      A witty [sig] proves nothing. --Voltaire

    13. Re:Pfff by kma · · Score: 4, Interesting

      Someone was bitching "why can't XYZ OS run under VMWare if it runs perfectly well under generic PC hardware". Someone responded to the effect that VMWare was tuned to make certain concessions for the OSs they supported.

      Right. The OS'es we "support." Not the OS'es "we're able to run." And those "concessions" are mostly performance trade-offs, not correctness.

      It's still true that some OS'es don't run; but that's because our software has bugs. OS'es sometimes have bugs, too, though if the OS is important enough, we'll work around it. The bugs that prevent you from running the OS that some drunken Swede cooked up for course credit are admittedly less important to fix than the bugs that, say, prevent you from running Linux. However, in the long run, we try to fix even the bugs exposed only by drunken Swedes.

      That's why AtheOS, OpenStep, BeOS, NetBSD, FreeDOS, B-Right, Plan9, QNX, and myriad other commercially unimportant OS'es run ok. Not because they're important to our customers (man, oh man, they aren't), but because they enable us to be sure our x86 virtualization layer is reasonably correct. That way, when Ingo Molnar decides to start using 80286-style 16-bit tasks with lots of grow-down and conforming code segments to do system calls in Linux 2.6, we won't get caught out too badly.

    14. Re:Pfff by weileong · · Score: 2, Informative


      Actually, I've found that VMware doesn't work with quite a lot of the x86 OS-es I've tried (and on their website there's something to that effect).

      BeOS doesn't work, neither does QNX or OS/2. I'm having a heck of a time getting Solaris x86 to work as well (doesn't seem to like the HDD being presented as a SCSI device, must be IDE, although I've installed actual Solaris x86 machines with SCSI HDDs before without problems).

  2. Funny Guys by tomblackwell · · Score: 5, Funny

    ... to publish a paper called "Xen And The Art of Virtualization".

  3. Re:I bet it's not Open Source... by Zigg · · Score: 2, Insightful

    RTFA. It's GPL.

    (waiting for the 20 second delay to expire... @#%$! Slashdot)

  4. Re:I bet it's not Open Source... by Trigun · · Score: 5, Interesting

    With assistance from Microsoft Research, we have a port of Windows XP to Xen nearly complete

    They won't release the source for XP, but you can probably get a compiled binary. I just wonder if you'll have to re-register every time you change your virtual hardware.

  5. MOL for x86? by Realistic_Dragon · · Score: 4, Interesting

    In the same way that Mac On Linux makes moving people to Linux on a Mac pretty painless (just give them an icon for OSX in a window) this might do the same for migrating Windows users.

    The biggest problem with emulators/virtualisation has always been speed. If a system can be set up that runs Linux but can boot XP easily and run fast, that will be a big improvement.

    Of course it's not going to be much good for gamers (doesn't look like it can use hardware accelaration) but it's still pretty promising.

    --
    Beep beep.
    1. Re:MOL for x86? by tgd · · Score: 5, Insightful

      This would not allow you to run Windows under Linux... it would allow you to run Windows and Linux under Xen, which is not nearly the same thing.

      Contrary to the submitter's comments, this product is nothing like VMWare.

  6. Interesting .. by Anonymous Coward · · Score: 3, Insightful

    I'm really surprised they got assistance for windows XP. You'd think that Microsoft would want to stay well clear of anything linked to the GPL.

    I guess such assumptions are incorrect, and quite probably a result of reading Slashdot too much!

    1. Re:Interesting .. by Gingko · · Score: 4, Informative

      This is Cambridge computer lab we're talking about - where Microsoft research have the very next building over.

      I live with one of the guys in the systems group and hope to go back there to do my PhD soon, and they do do very cool things there. Microsoft give them all the help they need, because academia is an excellent ideas feeder for the real world. Cambridge, being in a position of power with its serious reputation and fantastic set of minds, gets the benefit of the Microsoft help without any of the assumed costs.

      Henry

      --
      i don't do sigs. oops.
  7. Not really like VMWare by javatips · · Score: 4, Insightful
    We have a fully functional port of Linux 2.4 running over Xen


    With assistance from Microsoft Research, we have a port of Windows XP to Xen nearly complete, and are planning a FreeBSD 4.8 port in the near future (volunteers welcome!).


    If one need to port an OS to make it work within Xen, then I will NOT compare it to VMWare. VMare can run your stock OS on a VM whithout the need to tweak it.


    The performance advantage it has over VMWare is probably related to that. By having a few restriction on the OS, they can probably offer better performances.

    1. Re:Not really like VMWare by borgheron · · Score: 2, Interesting

      This depends on what is meant by "port". Is it possible that they mean that they have written drivers to work on those operating systems to make it work?

      I believe more information is needed on this before I make any decision as to whether it's better or worse than VMware.

      GJC

      --
      Gregory Casamento
      ## Chief Maintainer for GNUstep
    2. Re:Not really like VMWare by Torne · · Score: 2, Informative

      We did benchmark against VMWare 4 (and ESX), but those versions have a clause in their licence agreements forbidding publishing of benchmarking results without VMWare's permission. They refused us permission, from which you can deduce who is faster. =)

      Torne
      (XenoXP porter)

  8. Welcome by show+me · · Score: 2, Funny

    I, for one, welcome our new Xen masters.

  9. so its just an extra layer of abstraction? by ikoleverhate · · Score: 4, Insightful

    So really, this is just an abstraction layer that means even the OS is unaware it's sharing hardware, so in theory theres no way for a malicious user to take advantage of other users. Pretty cool in a boring and limited sort of way. Kudos to the team who did it, I'm sure it's a real technological challenge. Not what the /. headline promised though ;)

  10. Re:I bet it's not Open Source... by Aspasia13 · · Score: 2, Informative

    From the page (which hasn't bet /.'ed... yet)" you can read that Xen itself is GPLed:

    "Modern computers are sufficiently powerful to use virtualization to present the illusion of many smaller virtual machines (VMs), each running a separate operating system instance. Successful partitioning of a machine to support the concurrent execution of multiple operating systems poses several challenges. Firstly, virtual machines must be isolated from one another: it is not acceptable for the execution of one to adversely affect the performance of another. This is particularly true when virtual machines are owned by mutually untrusting users. Secondly, it is necessary to support a variety of different operating systems to accommodate the heterogeneity of popular applications. Thirdly, the performance overhead introduced by virtualization should be small.

    Xen is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Xen is Open Source software, released under the terms of the GNU General Public License. We have a fully functional port of Linux 2.4 running over Xen, and regularly use it for running demanding applications like MySQL, Apache and PostgreSQL. Any Linux distribution should run unmodified over the ported OS.

    With assistance from Microsoft Research, we have a port of Windows XP to Xen nearly complete, and are planning a FreeBSD 4.8 port in the near future (volunteers welcome!). "

  11. ob. Beowulf cluster comment by Vic+Metcalfe · · Score: 5, Funny

    Finally I can create a Beowulf cluster without the clutter of all those machines!

  12. The only thing I'm wondering... by metroid+composite · · Score: 2, Interesting

    ...is if you can copy and paste between the OSs. That always annoyed me when I had Linux open remotely through a Windows machine. I had to leave a submission form open on my website as a "back door" to copy stuff in. This goes for things like Gnumeric to Excel data too.

  13. Re:I bet it's not Open Source... by sjwt · · Score: 3, Informative

    If you had botherd to open the Xen link,
    and read the page which was a whopping
    8100 bytes in size you would of noticed
    "Xen is Open Source software, released under the terms of the GNU General Public License. We have a fully functional port of Linux 2.4 running over Xen, and regularly use it for running demanding applications like MySQL, Apache and PostgreSQL. Any Linux distribution should run unmodified over the ported OS."

    rather then just trolling off the two words "Microsoft Research"

    --
    You have 5 Moderator Points!
    Which Helpless Linux zealot/MS basher do you want to mod down today?
  14. Re:How is it ideal for secure virtual hosting? by __past__ · · Score: 2, Informative

    Virtualization rocks for that kind of things. I happily use FreeBSD jails for that. They work on a different level and have different goals, but giving each (group of) user(s) their own sandbox to play with is definitly a really cool thing, both for admins and for the users themselves.

  15. Comparison with other free VMs? by Laur · · Score: 4, Informative

    So it looks like this is the third (or fourth) free VM for Linux, the others being Plex86 (and a different fork here) and User Mode Linux. Does anyone have a good comparison of these three? I know Zen compared UML on their site but not plex86. I'm not really sure of the differences between them, particularly the different versions of plex86 and UML (Zen explained their virtualization process pretty well on their site). Which is the best choice for different scenarios? It looks like Zen is the winner for running Linux as the guest OS, and the original Plex86 (first link) is the only one which offers a free choice in guest OS's.

    --
    When you lose something irreplaceable, you don't mourn for the thing you lost, you mourn for yourself. - Harpo Marx
    1. Re:Comparison with other free VMs? by emj · · Score: 3, Informative
      Well:
      User Mode Linux
      1. Is linux Ported to the linux syscalls
      2. Has been ported partially to windows as well
      3. No hardware access only software modificatade to be hardware
      4. Is just Linux
      5. Extremly Easy do install 2 Files to download and then start NO configuration
      6. Very Fast emulation of linux, 10% Slow down while compiling the kernel
      7. Support SWAP partition as memory for virtual machines


      Plex86
      1. Is X86 & Bios ported to C
      2. Runs multiple OSs
      3. Runs on multiple OSs
      4. Very hard to conigure
      5. SLOW!
      6. Thourgh Emulation of the hardware no just software


      Xen

      I have not run this Emulator but it looks like it is more or less an OS (it has to have support for Graphics card/NICS/MMU to virtualize them). So it seems like it work in the same way as UML but tries to make the big change in the operating system running bellow instead ontop. Now I need to read that paper more before I can say anything, but they do alot less changes to the kernel than UML (~2700 lines of codes in the kernel).

    2. Re:Comparison with other free VMs? by Laur · · Score: 2, Informative
      Thanks for the info, however you seem to be confusing Plex86 with Bochs. They share a lot of code, however while Bochs emulates the entire hardware (and thus can be used on any platform) Plex86 virtualizes many things and so can only be run on x86 hardware, but is supposed to have much better performance because of this. Also, AFAIK Plex86 is only available for Linux (as the host OS). The original Plex86 should run any x86 OS. The new Plex86 fork simplifies the virtualization even more and only runs Linux, supposedly with an even greater performance increase, providing basically the same thing as UML but in a different manner.

      What I was interested in was performance comparisons between the different Plex86 versions, UML, and Xen, as well as some info on how each goes about virtualizing the hardware (which is better and why). I was playing with Bochs just a few weeks ago (on a 600 MHz ibook, Linux as the host, Windows 98SE as the guest) and found it unusably slow. I haven't played with Plex86, UML or Xen yet, but I plan to as soon as I get the free time. ;)

      --
      When you lose something irreplaceable, you don't mourn for the thing you lost, you mourn for yourself. - Harpo Marx
  16. Virtual Virtual Machine? by Stiletto · · Score: 2, Funny


    So when do I get a Virtual Virtual Machine, to allow me to run all these VM's at the same time? Because as we all know, it makes much more sense to do this, than, oh I don't know... Buy another $299 computer?

  17. Nice jab at Mozilla! by seanmeister · · Score: 4, Funny

    "....and regularly use it for running demanding applications like Apache, PostgreSQL and Mozilla."

    That's kinda funny, lumping a web browser in the same category as server apps designed to handle gazillions of users.

    Come on, it's not THAT bloated!

    1. Re:Nice jab at Mozilla! by seanmeister · · Score: 2, Interesting

      No, you haven't been trolled. Not by me, anyway. The text I quoted appears in the article as posted on /. ... I R'd TFA a bit later and saw that the actual article didn't mention Moz!

  18. For all those not just out of nappies/diapers... by jantheman · · Score: 4, Funny

    Oh, you mean this then?

    (sry NYI)

    --
    -- Mod me down. I am not a karma tart. ffs,gag
  19. User Mode Linux by shird · · Score: 2, Interesting

    Sounds an awful lot like usermode linux. Get a vesion of the kernel/OS which makes calls to a host virtual machine rather than directly to the hardware for privileged instructions. Everything else can run directly through the CPU without being emulated because it is running in 'usermode' (or ring 1).

    --
    I.O.U One Sig.
  20. Why Microsoft+Intel? NGSCB backward compatibility! by NZheretic · · Score: 4, Interesting
    A quick glance over Xen group's paper leaves me very impressed with the performance these techniques can achieve. That the Xen group has decided to relase the code under the GPL leaves me very greatful. However, that both Intel Research and Microsoft Research has funded it, leave me somewhat concerned.

    As I have stated before about Microsoft's purchase of Connectix's Virtual Server technology

    In my opinion Microsoft's acquisition of Connectix's Virtual Server technology has very little to do with running any other vendors operating system.

    Microsoft needs a Virtual Server for backward compatibility for it's NGSCB ( Next Generation Secure Computing Base ) DRM ( Denial of Rights Mechanism ) platform.

    Just as Microsoft's XP backward Win9x compatability opens up many locally exploitable API to gain SystemLocal privilege access, to the point where many programs need Adminstrator privilege to run, existing XP and win2k software would open up too many opportunities for helpfull hacker to bypass Microsoft's NGSCB DRM mechanisms.

    Microsofts all too obvious solution is to provide a "Virtual" PC mode, running a modified XP and WinME, with the NGSCB providing virtual filesystems and hardware access. All, access of course, with the NGSCB DRM scanning and control.

    Where do you want to go tomorrow?

    The Electronic Frontier Foundation are about to publish a paper criticizing a component of the "trusted computing" technology promoted by Microsoft, IBM and other technology companies, calling the feature a threat to computer users..
  21. Hardware support by Anonymous Coward · · Score: 4, Informative

    According to the README, it requires special hardware drivers and is not targetted at desktops. Don't expect stellar graphics performance. VMWare *does* give you something for the money.

    Hardware support
    ================

    Xen is intended to be run on server-class machines, and the current
    list of supported hardware very much reflects this, avoiding the need
    for us to write drivers for "legacy" hardware. It is likely that some
    desktop chipsets will fail to work properly with the default Xen
    configuration: specifying 'noacpi' or 'ignorebiostables' when booting
    Xen may help in these cases.

    Xen requires a "P6" or newer processor (e.g. Pentium Pro, Celeron,
    Pentium II, Pentium III, Pentium IV, Xeon, AMD Athlon, AMD Duron).
    Multiprocessor machines are supported, and we also have basic support
    for HyperThreading (SMT), although this remains a topic for ongoing
    research. We're also looking at an AMD x86_64 port (though it should
    run on Opterons in 32-bit mode just fine).

    Xen can currently use up to 4GB of memory. It's possible for x86
    machines to address more than that (64GB), but it requires using a
    different page table format (3-level rather than 2-level) that we
    currently don't support. Adding 3-level PAE support wouldn't be
    difficult, but we'd also need to add support to all the guest
    OSs. Volunteers welcome!

    We currently support a relatively modern set of network cards: Intel
    e1000, Broadcom BCM 57xx (tg3), 3COM 3c905 (3c59x). Adding support for
    other NICs that support hardware DMA scatter/gather from half-word
    aligned addresses is relatively straightforward, by porting the
    equivalent Linux driver. Drivers for a number of other older cards
    have recently been added [pcnet32, e100, tulip], but these are not
    recommended since they require extra packet copies.

  22. Microsoft Research by non · · Score: 2, Informative

    in case anyone forgot, not only is microsoft research their neighbor, but it was also the first microsoft research center outside the us. wired has more about what you can get for $80 million.

    --
    ...vividly encapsulates that post-Watergate/pre-punk/coked-up moment when you could trust no one, least of all yourself.
  23. xp licence/activation . by leuk_he · · Score: 2, Insightful

    If they ever release the XP binary you will have to bet that it will be some hight priced version of xp that runs it. Or else you will run into all kind of license problems.

    If it will be a concurrent of The virtual machine solution they bought from connectix This will not be released.

    And if it will work with a standard XP home/pro you will have all kind of activation loopholes like in vmware.

  24. Source code not available by avenj · · Score: 3, Interesting

    The source code is only available via BitKeeper, as far as I can tell from their site. The BitKeeper tools are not free software and cannot be used by anyone who has contributed to a competing product, according to the license for the free-as-in-beer version of BitKeeper. Is there somewhere else to get source and I'm just missing it?

  25. Re:Very cool indeed by Rob+Riggs · · Score: 2, Funny
    Very cool, but why is Microsoft involved?

    I would guess it is because Microsoft has a modest edge over Linux International when it comes to funding research grants.

    --
    the growth in cynicism and rebellion has not been without cause
  26. How many licenses per machine? by Glonoinha · · Score: 4, Interesting

    Silly question about activation .. actually not -about- activation, but inspired by activitation :

    If you only have a single computer with a single CPU, how many copies of WinXP do you need? That one is rhetorical of course, and the answer is One.

    Can you run whatever software on that legitimately licensed WinXP machine that you like, assuming it was also legitimately licensed? That one is also rhetorical and the answer is Yes.

    Now install VMware on that machine, WinXP as the host OS. By adding VMware you have not increased the number of CPUs or physical machines. If you created three virtual machines (if you had enough RAM and hard drive space, not a stretch at all) and wanted to run WinXP in each of those virtual machines simultaneously - do you need 1 license of WinXP or four licenses of WinXP (one for the host OS, and one for each VM)?

    Granted the activation and active license management in XP may not allow this to happen even if in theory it should be allowed according to the 1 license / physical machine license in the EULA - but swap it with Windows 2000 or whatever ... what are the facts?

    I am just curious.

    --
    Glonoinha the MebiByte Slayer
    1. Re:How many licenses per machine? by steve_l · · Score: 2, Insightful

      I think it is something they havent had to deal with yet.

      I am running Win2K+visual studio in one vmware vm right now; I can bring up Win2K3 to run office 2003 when I need to go on exchange. But with the block MSDN license *and* a volume 'no activation' key for XP, office, etc. I get to skip activation.

      But imagine if I did have to activate stuff everytime I rebuilt a new VM? Within a month I'd have the activation police complaining I'd activated onto 5+ systems, and that therefore I was violating some license.

      Yet at the same time, a VM image, once activated, can be shared and of VMware makes all the hardware look the same, the system doesnt have to think you need reactivation.

      So legitimate users of activated apps under a VM will suffer -we have to go through reactivation grief- yet there is now a new way to bypass activation -ship an image of the OS+apps already activated; you just run it in a window.

      I dont know how long it will take the 'activation' police to deal with it.

  27. NomadBIOS by Anonymous Coward · · Score: 2, Interesting

    NomadBIOS did this a year ago, including swift migration of Guest OSes betweeen hosts, but with only two people and without a MS-research grant... But Xen looks nice, and the porting effort seems to be smaller.

  28. Adeos by joe_plastic · · Score: 2, Informative

    http://www.opersys.com/adeos/index.html
    http://sa vannah.nongnu.org/projects/adeos

    "The purpose of Adeos is to provide a flexible environment for sharing hardware resources among multiple operating systems, or among multiple instances of a single OS."

    This is similiar to xen and the new plex86 and it has some experience with supporting rtos

  29. Great Idea! Why all the whining? by HopeOS · · Score: 2, Insightful

    The x86 architecture is not designed to be virtualized, at least not for code expecting to run in ring 0. The work that VMWare must do to emulate ring 0 without the guest OS coming unglued is simply daunting, including traps for every detail from setting and clearing interrupts to modifying page tables. A lot of that work requires predicting code execution paths and dynamically modifying the code at runtime. It's a real nightmare.

    Plex86 promised to provide an open-source solution to this problem, but the last time I checked (which admittedly was awhile ago), they were planning on using bochs to emulate ring 0. This is not exactly satisfactory, but I don't blame them. It's a hard problem, one for which VMWare is entitled and deserving of reward for having solved.

    So how do you get real virtual host performance out of your x86 machine? You design around the flaw. Operating systems that are written to run in ring 1 and call the Xen hypervisor instead of performing ring 0 functions will run at nearly full speed. Those that do not or will not make these compromises will see at best, an emulated ring 0. It's really that simple.

    Personally, I don't see much value in being able to run any arbitrary operating system in a single environment if it's impossible to get real, sustained performance out of it. Cross-platform testing: sure. Kernel debugging: certainly. But host virtualization? What I want is the capability of running multiple hosts simultaneously, and if the operating system needs delibrate tweaking to make this possible, then obviously that's the direction to go.

    To answer the gripes of people who want just that transparent hosting of unmodified OSes, it would be interesting to see a follow-on project for dynamically modifying the guest OS to thunk-out all the privileged calls to use the Xen extensions directly rather than trapping exceptions as they do now. This would probably not work well for page tables modifications, so a hybrid system might be employed. In this fashion, the best of both worlds may be achieved.


    -Hope

  30. Why Is This So Hard? by Chasuk · · Score: 3, Insightful

    Is it really that fucking difficult to write an accurate summary?

    A person reads the summary, and reasonably thinks:
    "Great! An Open Source equivalent of VMware Workstation! Now I'll be able to run multiple OS's on my Desktop machine without the expense!"

    Then he reads:

    "Xen requires guest operating systems to be ported to run over it..."

    This changes the picture dramatically, and should have appeared MUCH earlier in the summary.

    Come on, I know this is only Slashdot, but stupidity and dishonesty like this get really annoying.

  31. this looks familiar by todorb · · Score: 2, Informative

    from the ADEOS site (http://www.nongnu.org/adeos/):

    "The Adeos Project

    The purpose of Adeos is to provide a flexible environment for sharing hardware resources among multiple operating systems, or among multiple instances of a single OS.

    To this end, Adeos enables multiple prioritized domains to exist simultaneously on the same hardware. For instance, we have successfully inserted the Adeos nanokernel beneath the Linux kernel, opening a full range of new possibilities, notably in the fields of SMP clustering, patchless kernel debugging and real-time systems for GNU/Linux."

    this thing is used in the RTAI realtime linux project.

  32. Xenify, anyone? by leob · · Score: 2, Interesting

    With all the achievements in x86 binary code analysis, instrumentation and compilation (think of valgrind or Transmeta, to name just a few), wouldn't it be possible to read the kernel binary into some kind of a compiler, find all uses of the instructions that have to be replaced, replace them (and the adjoining code, if necessary) with the Xen interface calls, then reassemble and relink the kernel?

    How extensive and how non-trivial are the necessary changes?