Slashdot Mirror


Linux VMs For Everyone

Over at Newsforge, Grant Gross has written an interesting overview of the options available for hosting multiple Linux installations on virtual machines; interestingly, it's not just for those with the big bucks for high-end IBM hardware, though that's surely nice.

14 of 132 comments (clear)

  1. For privacy . . . by acceleriter · · Score: 5, Insightful
    . . . even if you aren't running multiple virtual machines simulateously, applications like VMware (and possibly Bochs) are useful for creating read only, throwaway environments for when you do anything on the net you might not want your boss or someone who shares your computer to be aware of.

    In particular, VMware's "undoable disks" are great in this regard.

    --

    CEE5210S The signal SIGHUP was received.

    1. Re:For privacy . . . by SkewlD00d · · Score: 3, Interesting

      It's also good for doing things such as running malicious programs in a controlled environment and as an alternative to ICEs.

      --
      The biggest trick the devil pulled was letting lawyers become politicians so they can write the laws.
  2. One Windows OS on one machine?! by Glorat · · Score: 3, Funny

    Cool! Not only are you allowed to run Linux on your computer for FREE but you are allowed to run 1000 copies of Linux on your computer for FREE!!

    Now, 1000 copies of Windows on a machine would cost... $100,000? Nehehe. Linux rocks =P

  3. Re:Windows License? by Dr_Marvin_Monroe · · Score: 4, Funny

    Consider the possibilities.....

    Multiple BSOD's running at the same time!

    Here are some points to be considered.....

    When I say "OK" and reboot, does this start another instance of Windows, or just jump me to the other blue screen?

    Could one BSOD cause a another BSOD?

    What exactly would the effect of a "Virtual BSOD" be?

    Inquiring minds want to know......

  4. Re:Imagine by Webmonger · · Score: 5, Interesting

    The reason there's a value to virtual machines is because you can't buy half a computer [from reputable vendors!]. If you have four jobs that only require 1/4 of the resources of a modern PC, but they all need different security contexts, you must a) buy four servers or b) buy one server and run 4 virtual machines.

    There's probably even some value in a beowulf cluster of virtual machines-- if you want to write and test cluster-based software when you don't have access to a cluster.

  5. Linux VM RULE!, Tyr it if you havent youll LOVE it by CDWert · · Score: 5, Interesting

    If youre hosting, you cant beat this solution

    Folks over at Solucorp

    Have made kernel patch and utilites to make this almost painless, as well as some precompiled kernels, (I would laways roll my own but ..)

    This as I said kicks for hosting, its not just a chroot, and its not like the jail on BSD, its....well different.

    This isnt somethign youre going to do on your desktop machine , its going to allow you to span resources, this is COMPLETLEY different from VMWare etc, for all the yahoos that are gonna say this has been around forveer.

    After SEVERLY abusing our test server to hell an back starting 2-1 we are going to be offering hosting in this enviroment , we have clients that want their own playground but dont want the maintenece, some have semi-secure data theyre just no comfortable on a shared solution and cant quite justify a dedicated box, were already slated for 10 clients and with their current traffic and traffic times, they will all play very nicley on the same machine

    P.S. LOAD up on the ram , and make sure to use SCSI , Low ram and Ide will work but start to bog under load, remeber you have 10 different Linux installations trying to access the disk at once.....

    --
    Sig went tro...aahemmm.....fishing........
  6. Re:Windows License? by russianspy · · Score: 3, Interesting

    Allright. I'm replying to my own message... Hmmm....

    Here are some quotes from Windows XP EULA

    * Installation and use. You may install, use, access, display and run one copy of the Product on a single computer, such as a workstation, terminal or other device ("Workstation Computer"). The Product may not be used by more than two (2) processors at any one time on any single Workstation Computer.

    I am trying to figure out what that means in this case. You can install, use, access, etc one copy of this product on a single computer... Assuming you could set up the VM's to READ from the same install of the software, but WRITE to different dirs - that part should be allright (hey! I'm not saying it would be EASY, but it's doable - Unix does something similar when forking). The other sentence would limit the user to two versions running at the same time (I assume as many as you'd like could be LOADED in memory - ready to be used). I don't know of many hardware that could run multiple copies of windowsXP at the same time (well.. just one - I think it's running Unix though), but with the advances in servers/computers a large company could reduce the windows licensing costs by half!

  7. One big crash by XBL · · Score: 3, Interesting

    The article talks about how hundreds, even thousands of OSes can run on one machine. Well, what if the underlying VM architecture, or even the hardware itself crashes?

    Now you have hundreds, even thousands of customers mad at you... and all their stuff is on just one machine. Yikes!

    1. Re:One big crash by Webmonger · · Score: 4, Informative

      The theoretical customer downtime doesn't change.

      First, the non-VM scenario: let's say in a given period, there's a 1:3 chance that a box will go down, and you have 1 customer upset. If you have three customers, the odds are 1:1 that one of the machines will go down. Over three periods, three customers will experience downtime.

      Okay, VM now: There's still a 1:3 chance that a box will go down, but if you have 3 customers, three customers will be upset if it happens. Over three periods, the odds of the machine going down are 1:1, so over three periods, three customers will experience downtime.

      It reduces the odds and raises the stakes in equal proportion. Of course, dealing with three upset customers may be more than 3x as difficult as dealing with 1 upset customer 3 times.

      This achitecture has huge advantages when it comes to making backups, since the host OS can access and back up all the partitions in one swell foop. And with the cost savings, you could afford to get a second, identically-configured box. So there are plus sides, too. I guess VM giveth and VM taketh away. . .

  8. SemiOT: Self-Virtualization? by sconeu · · Score: 3, Interesting

    Did Intel fix the x86 self-virtualization problem with the Pentium and laters? I know that the '386 and '486 couldn't fully virtualize themselves, because it was possible for non-supervisor code to look at certain flags.

    A 680x0 (x >= 1) could fully virtualize itself, because the condition codes could be accessed separately from the status register (MOV.B D0, CCR as opposed to MOV.W, D0, SR).

    Just curious. Oh, and I think the article got it wrong. They said VM has been around for 20+ years, I believe it's closer to 30+. Any old JCL'ers out there?

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    1. Re:SemiOT: Self-Virtualization? by Wesley+Felter · · Score: 3, Interesting

      I don't think Intel has solved the problem; that's why VMware is so expensive.

    2. Re:SemiOT: Self-Virtualization? by SVDave · · Score: 4, Informative

      As far as I can see, the fact that you access the CCR or the SR for the condition codes do not affect the condition codes nor the state that the processor is in (supervisor or normal).

      Writing was never a problem. Reading the condition codes was the problem.

      In order to support virtualization, one must be able to trick a program that is running in user mode into thinking that it is running in supervisor mode. For example, a virtualized Linux kernel needs to run in user mode (so that, for example, you can trap any attempts it makes to change the MMU registers; you don't want it to change the _real_ MMU registers, just what it _thinks_ are the real MMU registers). On an M68000, this was not possible, because the opcode used to read the condition codes ("MOVE SR,<ea>") was a user-level opcode. Thus a program could always determine its true run level.

      On the MC68010 and later, "MOVE SR,<ea>" was made supervisor-only. So what does this mean? On a non-virtualized OS, if supervisor-level code does a "MOVE SR,<ea>", it returns the true result. On a virtualized OS, the virtual OS is running in user mode, so the "MOVE SR,<ea>" traps. The virtual machine underneath gets the condition codes, sets the "Supervisor" bit to 1, stores it in the specified destination (the "effective address"), and returns from the trap. To the virtual OS, it looks like the "MOVE SR,<ea>" executed as expected.
  9. "... I sent out an email ... " by Skapare · · Score: 3, Funny
    "We moved everything onto that one. It's going to save us a bundle. I sent out an email ... "

    Apparently the email didn't get delivered.

    --
    now we need to go OSS in diesel cars
  10. Re:jail()? by Dwonis · · Score: 4, Informative
    you can give the user root access too. Even if they decide to rm -rf / all that will happen is their own virtual machine will wipe itself...the box will stay up and so will all the other vm's.

    I was under the impression that jail(2) did that, too.